diff --git a/mirror-wrapper b/mirror-wrapper index 8c6641a..904047c 100755 --- a/mirror-wrapper +++ b/mirror-wrapper @@ -76,7 +76,7 @@ if [[ -n "$WRONG_PERMS" ]]; then else # Do the mirroring work. export MIRRORING_USER - sg "$DEPOSITORY_GROUP" -c "$COMMAND" "$@" >"$LOGSDIR/$LOGFILE" 2>&1 + sg "$DEPOSITORY_GROUP" -c "$COMMAND $@" >"$LOGSDIR/$LOGFILE" 2>&1 ERR="$?" fi