aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-28 22:36:54 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-28 22:36:54 +0000
commit9b43b58f41b816a0da0b437636a0ebda7a04070d (patch)
treedd7dd2cd9fdaafd183d0856558822fc6a5969386
parent4287bec56bcb3934a72d2638d400a753cbd823fd (diff)
downloadcpt-9b43b58f41b816a0da0b437636a0ebda7a04070d.tar.gz
kiss-new: Fix non args.
FossilOrigin-Name: a72a460f6135b6599298f6a06e736f78228dcfe380b41f37412bb0ef25164aa9
-rwxr-xr-xkiss-new2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss-new b/kiss-new
index bbb4c44..2667553 100755
--- a/kiss-new
+++ b/kiss-new
@@ -104,7 +104,7 @@ args() {
# keystrokes once you memorize themand it also has the side-effect
# of "correcting" spelling mistakes assuming the first letter is
# right.
- while [ "$1" ]; do
+ while [ "${1:-?}" ]; do
case $1 in
# Build the list of packages.
b*)