summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-01-06 22:26:30 -0200
committerSilvio Rhatto <rhatto@riseup.net>2016-01-06 22:26:30 -0200
commit731b0280b830c46b7b9fd7ee5cea0fed106cdb8c (patch)
treeb39a2bf0ab663946e06b80e57b7b57b72039d86d /share
parent11a28d88f5b2b9935ba890347c9e15127924cf0b (diff)
downloadhydra-731b0280b830c46b7b9fd7ee5cea0fed106cdb8c.tar.gz
hydra-731b0280b830c46b7b9fd7ee5cea0fed106cdb8c.tar.bz2
Check for null state on system-upgrade
Diffstat (limited to 'share')
-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