diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-01-06 22:26:30 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-01-06 22:26:30 -0200 |
commit | 731b0280b830c46b7b9fd7ee5cea0fed106cdb8c (patch) | |
tree | b39a2bf0ab663946e06b80e57b7b57b72039d86d /share | |
parent | 11a28d88f5b2b9935ba890347c9e15127924cf0b (diff) | |
download | hydra-731b0280b830c46b7b9fd7ee5cea0fed106cdb8c.tar.gz hydra-731b0280b830c46b7b9fd7ee5cea0fed106cdb8c.tar.bz2 |
Check for null state on system-upgrade
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydractl/system-upgrade | 4 |
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 |