diff --git a/otrDecodeAll b/otrDecodeAll index dc07008..2ec22d1 100755 --- a/otrDecodeAll +++ b/otrDecodeAll @@ -596,7 +596,7 @@ function funcRemove { function funcRemoveFile { local file="$1" - if [ -e $file ]; then + if [ -n "$file" -a -e "$file" ]; then funcLog 4 "Deleting $file" rm -f "$file"; fi