attempting to get parms with spaces to still pass on through as single parameters...
authorChris Koeritz <fred@gruntose.com>
Wed, 30 Oct 2013 14:38:38 +0000 (10:38 -0400)
committerChris Koeritz <fred@gruntose.com>
Wed, 30 Oct 2013 14:38:38 +0000 (10:38 -0400)
scripts/core/functions.sh

index f6a9beb37fb55dccc23253001d11b84026d221ab..bf92636caaf113568aa1949c62b8e1a75e7f446b 100644 (file)
@@ -230,7 +230,7 @@ if [ -z "$skip_all" ]; then
   # label if they're doing an su with the sudo.
   function sudo() {
     local first_command="$1"
-    /usr/bin/sudo $*
+    /usr/bin/sudo "$@"
     if [ "$first_command" == "su" ]; then
       # yep, they were doing an su, but they're back now.
       bash $FEISTY_MEOW_SCRIPTS/tty/label_terminal_with_infos.sh