From: Andrew Ruthven Date: Sat, 19 Apr 2008 06:23:06 +0000 (+1200) Subject: Tell the checks what command is being executed. X-Git-Tag: 0.4~10 X-Git-Url: https://git.madduck.net/code/molly-guard.git/commitdiff_plain/799bd85d7475f6c888b90d9cad0b7e3eed8d1164?ds=sidebyside;hp=7e8be72758ff7e643f71b9c125dd11be2a602b0e Tell the checks what command is being executed. Lost when I was cleaning up after testing. --- diff --git a/shutdown b/shutdown index c8005ad..387aacb 100755 --- a/shutdown +++ b/shutdown @@ -107,7 +107,7 @@ case "$CMD $ARGS" in ;; esac -run-parts --exit-on-error $CHECK_ARGS /usr/share/molly-guard/checks.d +run-parts --exit-on-error --arg $CMD $CHECK_ARGS /usr/share/molly-guard/checks.d # run-parts won't return to us if there are failures, but I'm paranoid. if [ $? == 0 ]; then