diff options
Diffstat (limited to 'bin/lut.sh')
-rwxr-xr-x | bin/lut.sh | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -70,7 +70,7 @@ switch () { } cleanup () { - # leap vm rm upgrade +# leap vm stop upgrade rm -rf $workdir exit $1 } @@ -119,9 +119,11 @@ else else echo "Nodes initialized with old platform" fi - # temporary + + # 0.8 hack, remove after 0.9 release switch $from_version $cli_from/bin/leap -v2 --yes deploy upgrade + if [ $? -ne 0 ]; then cleanup 1 else @@ -130,6 +132,7 @@ else $cli_from/bin/leap test switch $to_version $cli_to/bin/leap -v2 --yes deploy upgrade + if [ $? -ne 0 ]; then cleanup 1 else |