From 799bd85d7475f6c888b90d9cad0b7e3eed8d1164 Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Sat, 19 Apr 2008 18:23:06 +1200 Subject: [PATCH 1/1] Tell the checks what command is being executed. Lost when I was cleaning up after testing. --- shutdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5