X-Git-Url: https://git.madduck.net/code/molly-guard.git/blobdiff_plain/dcbf7f8246ed6cdcd3f84909eef79b78b1dfa6ec..20d6c44f0a408def2ad9d4ce084666916d6b933a:/shutdown diff --git a/shutdown b/shutdown index c9b34f2..c740201 100755 --- a/shutdown +++ b/shutdown @@ -36,9 +36,9 @@ do_real_cmd() { case "$ARGS" in (*--molly-guard-do-nothing*) - ARGS0="${ARGS%% --molly-guard-do-nothing*}" + ARGS0="${ARGS%%--molly-guard-do-nothing*}" ARGS1="${ARGS##*--molly-guard-do-nothing}" - echo "$ME: would run: $EXEC $ARGS0 ${ARGS1# }" + echo "$ME: would run: $EXEC ${ARGS0# } ${ARGS1# }" exit 0;; *) eval exec $EXEC "$ARGS";; esac