fix: exit with non-zero status when Plane installation not found
This commit is contained in:
@@ -26,7 +26,7 @@ function update_script() {
|
|||||||
|
|
||||||
if [[ ! -d /opt/plane ]]; then
|
if [[ ! -d /opt/plane ]]; then
|
||||||
msg_error "No Plane Installation Found!"
|
msg_error "No Plane Installation Found!"
|
||||||
exit
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if check_for_gh_release "plane" "makeplane/plane"; then
|
if check_for_gh_release "plane" "makeplane/plane"; then
|
||||||
|
|||||||
Reference in New Issue
Block a user