cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit 51bec2d30d75900cdb810f03e9d82fc7b5e4e377
parent be36eaa154e4afc184ac6e67189901cedb7960eb
Author: Cem Keylan <cem@ckyln.com>
Date:   Sun,  3 May 2020 14:39:44 +0300

kiss: return 1 if read is interrupted

Diffstat:
Mkiss | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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() {