summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/hydractl/system-upgrade4
1 files changed, 3 insertions, 1 deletions
diff --git a/share/hydractl/system-upgrade b/share/hydractl/system-upgrade
index 2ad06e6..84aec30 100755
--- a/share/hydractl/system-upgrade
+++ b/share/hydractl/system-upgrade
@@ -173,7 +173,9 @@ else
source $ENV
fi
- hydra_system_upgrade_$STAGE
+ if [ ! -z "$STAGE" ]; then
+ hydra_system_upgrade_$STAGE
+ fi
fi
# Teardown