aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index 7ac64dc..af3af96 100755
--- a/kiss
+++ b/kiss
@@ -46,7 +46,7 @@ prompt() {
# POSIX 'read' has none of the "nice" options like '-n', '-p'
# etc etc. This is the most basic usage of 'read'.
# '_' is used as 'dash' errors when no variable is given to 'read'.
- read -r _
+ read -r _ || return 1
}
as_root() {