]> Sergey Matveev's repositories - torn.git/blobdiff - torn.zsh
Do not exit, it is not a script
[torn.git] / 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`