summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authorManuel Durán Aguete <manuel@aguete.org>2013-11-18 13:17:35 +0100
committerManuel Durán Aguete <manuel@aguete.org>2013-11-18 13:17:35 +0100
commite1d218f99a4461964a36fc33b3c2d4b35740dc47 (patch)
tree0297d101b45a2b7f1ebfb2a5786dac78d6bb1e90 /priv
parented88055a750736c5c9807ca4da4803ff8a6aef16 (diff)
Init RUNNER_SCRIPT var in simplenode.runner
RUNNER_SCRIPT variable is not initialized in simplenode.runner and it's referenced when calling sudo.
Diffstat (limited to 'priv')
-rwxr-xr-xpriv/templates/simplenode.runner1
1 files changed, 1 insertions, 0 deletions
diff --git a/priv/templates/simplenode.runner b/priv/templates/simplenode.runner
index c2ef258..2786e72 100755
--- a/priv/templates/simplenode.runner
+++ b/priv/templates/simplenode.runner
@@ -16,6 +16,7 @@ fi
unset POSIX_SHELL
RUNNER_SCRIPT_DIR=$(cd ${0%/*} && pwd -P)
+RUNNER_SCRIPT=${0##*/}
CALLER_DIR=$PWD