]> gitweb.fluxo.info Git - hydra.git/commitdiff
Check for null state on system-upgrade
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 7 Jan 2016 00:26:30 +0000 (22:26 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 7 Jan 2016 00:26:30 +0000 (22:26 -0200)
share/hydractl/system-upgrade

index 2ad06e68c5527a5e955f8180d915777c659fc525..84aec305bcfb4cc5469489dc24277051c5129600 100755 (executable)
@@ -173,7 +173,9 @@ else
     source $ENV
   fi
 
-  hydra_system_upgrade_$STAGE
+  if [ ! -z "$STAGE" ]; then
+    hydra_system_upgrade_$STAGE
+  fi
 fi
 
 # Teardown