Fix exec command
authorAndreas Bilke <abilke@cosy.sbg.ac.at>
Fri, 12 Feb 2016 09:22:03 +0000 (10:22 +0100)
committerAndreas Bilke <abilke@cosy.sbg.ac.at>
Fri, 12 Feb 2016 09:22:03 +0000 (10:22 +0100)
backuppc/rsync-backuppc-wrapper

index 98d96cf..75d15ba 100755 (executable)
@@ -49,4 +49,4 @@ if ! grep -x -q -f $ALLOWED_COMMANDS_FILE <<< "$*"; then
 fi
 
 logger -t backuppc-wrapper -i -p auth.info -- "Running $*"
-exec "/usr/bin/sudo $@"
+exec "/usr/bin/sudo" "$@"