summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/hydra/eyaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/share/hydra/eyaml b/share/hydra/eyaml
index d6c020f..7a0df8c 100755
--- a/share/hydra/eyaml
+++ b/share/hydra/eyaml
@@ -23,6 +23,7 @@ hydra_config_load
# Parameters
BASENAME="`basename $0`"
NODE="$1"
+ACTION="$2"
FQDN="`hydra_get_fqdn_from_nodename $NODE`"
shift
@@ -63,4 +64,6 @@ if [ ! -e "$PRIV" ]; then
fi
# Now call eyaml directly
-eyaml $* $ARGS
+if [ ! -z "$ACTION" ]; then
+ eyaml $* $ARGS
+fi