needed to fix both error points
authorChris Koeritz <fred@gruntose.com>
Wed, 15 Nov 2017 16:57:23 +0000 (11:57 -0500)
committerChris Koeritz <fred@gruntose.com>
Wed, 15 Nov 2017 16:57:23 +0000 (11:57 -0500)
scripts/core/functions.sh

index d88fe6bde290fd538fba1621d2d042177a7ea6e5..daaabcb16cece5a745d7735421fbecfc1c4691f3 100644 (file)
@@ -514,7 +514,9 @@ if [ -z "$skip_all" ]; then
     regenerate
 
     # prevent permission foul-ups, again.
-    chown -R "$(logname):$(logname)" "$FEISTY_MEOW_LOADING_DOCK" "$FEISTY_MEOW_GENERATED_STORE"
+    chown -R "$(logname):$(logname)" \
+        "$FEISTY_MEOW_LOADING_DOCK" "$FEISTY_MEOW_GENERATED_STORE" 2>/dev/null
+    test_or_continue "chowning to $(logname) didn't happen."
 
     restore_terminal_title
   }