From 932b21e2571ca76562f5901364e3fcab6093d5e8 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 12 Mar 2009 22:40:44 +0100 Subject: extr: Fixed else condition --- etc/functions/extr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/functions/extr b/etc/functions/extr index 4e386d5..4f0100d 100755 --- a/etc/functions/extr +++ b/etc/functions/extr @@ -26,6 +26,6 @@ if [[ -f $1 ]] { *) echo "Unknown archive type: $1"; return 2 ;; esac } else { - echo "Nu soch file: $1" - exit 1 + echo "No such file: $1" + return 1 } -- cgit v1.2.3