summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/ecompress3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ecompress b/bin/ecompress
index c20bfa1e1..e5f8808a9 100755
--- a/bin/ecompress
+++ b/bin/ecompress
@@ -77,7 +77,8 @@ case $1 in
filtered_args[$i]=$x
(( i++ ))
done
- set "${filtered_args[@]}"
+ [ $i -eq 0 ] && exit 0
+ set -- "${filtered_args[@]}"
# If a compressed version of the file already exists, simply
# delete it so that the compressor doesn't whine (bzip2 will