From 0ccc795823fd4d5ffcf8e643c6faf498bf52d8d2 Mon Sep 17 00:00:00 2001 From: Matteo Rossini Date: Wed, 12 May 2021 23:55:57 +0200 Subject: [PATCH] report not existant local file to link --- src/slackpkgplus.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/slackpkgplus.sh b/src/slackpkgplus.sh index aa4911a..d1e8b46 100755 --- a/src/slackpkgplus.sh +++ b/src/slackpkgplus.sh @@ -564,7 +564,8 @@ if [ "$SLACKPKGPLUS" = "on" ];then echo -e "\tLinking $URLFILE" ln -s $URLFILE $2 else - return 1 + echo -e "\tNot found $URLFILE" + false fi elif echo $URLFILE|grep -q -E dir:/.*asc$;then return 0