exit: when dep cannot be installed
This commit is contained in:
parent
f79ccffa25
commit
fa6e27d3e3
@ -198,7 +198,8 @@ main() {
|
|||||||
|
|
||||||
log "info" "Checking script dependencies..."
|
log "info" "Checking script dependencies..."
|
||||||
if ! check-script-deps; then
|
if ! check-script-deps; then
|
||||||
log "error" "Script dependencies failed, install missing dependencies and try again\n"
|
log "error" "Script dependencies failed, install missing dependencies and try again"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
log "info" "Script dependencies good"
|
log "info" "Script dependencies good"
|
||||||
print-break
|
print-break
|
||||||
|
Loading…
Reference in New Issue
Block a user