mirror of
https://github.com/Jonny007-MKD/OTR-DecodeAll
synced 2024-05-02 20:54:06 +02:00
Do not delete no files (empty string)
This commit is contained in:
parent
2bb97a5048
commit
1db2600e7d
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue