put file path in quotes, it might contain spaces #2

Merged
gandalf merged 1 commit from fix-if-statement into master 2024-09-17 16:42:47 +00:00

2
fax.sh
View file

@ -63,7 +63,7 @@ echo -n "Sending file ${FILE} "
REC=$(echo "$REC0" | sed -e 's:[^+0-9]::g' -e 's:^0\([1-9]\):+49\1:')
echo "to $REC"
#Checking for file size:
if [ ! -e $FILE ]
if [ ! -e "$FILE" ]
then
echo "File not found"
exit 2