diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-03-12 22:40:44 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-03-12 22:40:44 +0100 |
commit | 932b21e2571ca76562f5901364e3fcab6093d5e8 (patch) | |
tree | 419decafa53cf9850f0e11ede193032602e5a0d0 /etc | |
parent | fa773b7d39146022b0bb3bc53997bd6b66da99ef (diff) |
extr: Fixed else condition
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/functions/extr | 4 |
1 files changed, 2 insertions, 2 deletions
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 } |