From a8db113b82a925b853163ccada212c9694b5dcb0 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Fri, 10 Feb 2023 10:39:26 +0300 Subject: [PATCH] Do not exit, it is not a script --- torn.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torn.zsh b/torn.zsh index bc23537..7c2876c 100755 --- 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` -- 2.44.0