Browse Source

Merge branch 'feat_mydojo_exit_code' into 'develop'

return exit code 2 if install or upgrade is cancelled

See merge request dojo/samourai-dojo!188
develop
kenshin-samourai 4 years ago
parent
commit
4fbb241232
  1. 4
      docker/my-dojo/dojo.sh

4
docker/my-dojo/dojo.sh

@ -211,6 +211,8 @@ install() {
echo -e "\nInstallation of Dojo failed. See the above error message."
exit $buildResult
fi
else
exit 2
fi
}
@ -345,6 +347,8 @@ upgrade() {
echo -e "\nUpgrade of Dojo failed. See the above error message."
exit $buildResult
fi
else
exit 2
fi
}

Loading…
Cancel
Save