aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkiss4
1 files changed, 2 insertions, 2 deletions
diff --git a/kiss b/kiss
index 844ad9a..7ac64dc 100755
--- a/kiss
+++ b/kiss
@@ -573,7 +573,7 @@ pkg_build() {
log "Building: $*"
# Only ask for confirmation if more than one package needs to be built.
- [ $# -gt 1 ] || [ "$pkg_update" ] && prompt
+ [ $# -gt 1 ] || [ "$pkg_update" ] && { prompt || exit 0 ;}
log "Checking for pre-built dependencies"
@@ -1221,7 +1221,7 @@ pkg_updates(){
log "Detected package manager update"
log "The package manager will be updated first"
- prompt
+ prompt || exit 0
pkg_build kiss
args i kiss