From: Sergey Matveev Date: Fri, 10 Feb 2023 07:39:26 +0000 (+0300) Subject: Do not exit, it is not a script X-Git-Url: http://www.git.stargrave.org/?p=torn.git;a=commitdiff_plain;h=a8db113b82a925b853163ccada212c9694b5dcb0 Do not exit, it is not a script --- 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`