]> Sergey Matveev's repositories - torn.git/commitdiff
Do not exit, it is not a script
authorSergey Matveev <stargrave@stargrave.org>
Fri, 10 Feb 2023 07:39:26 +0000 (10:39 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Fri, 10 Feb 2023 07:39:26 +0000 (10:39 +0300)
torn.zsh

index bc23537e603335664187ee70bf70925641a31ba4..7c2876c611b5631242cfaa274351aa6eaa0597f5 100755 (executable)
--- a/torn.zsh
+++ b/torn.zsh
@@ -76,7 +76,7 @@ torna() {
     print -- $n
 }
 
-[[ -n $1 ]] || exit
+[[ -n $1 ]] || return
 local n=${1:t}
 n=`tornm $n`
 n=`tornt $n`