summaryrefslogtreecommitdiff
path: root/etc/functions/extr
diff options
context:
space:
mode:
Diffstat (limited to 'etc/functions/extr')
-rw-r--r--etc/functions/extr2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/functions/extr b/etc/functions/extr
index 3b01572..2ba4d90 100644
--- a/etc/functions/extr
+++ b/etc/functions/extr
@@ -22,7 +22,7 @@ if [[ -f $1 ]] {
*.zip) unzip $1 ;;
*.Z) uncompress $1 ;;
*.shar) confirm_shar && sh $1 ;;
- *) echo "Unknown archive type: $1"; exit 2 ;;
+ *) echo "Unknown archive type: $1"; return 2 ;;
esac
} else {
echo "Nu soch file: $1"