Fixed a typo

callerid
Gandalf 2021-03-17 16:24:58 +01:00
parent f9c39da3bb
commit eaf51c696d
1 changed files with 1 additions and 1 deletions

2
fax.sh
View File

@ -16,7 +16,7 @@ echo -n "Sending file ${FILE} "
REC=$(echo "$2" | sed -e 's:[^+0-9]::g' -e 's:^0\([1-9]\):+49\1:')
echo "to $REC"
#Checking for file size:
SIZE=$(ls -l | cut -d " " -f5)
SIZE=$(ls -l $FILE | cut -d " " -f5)
if [ $SIZE -gt 10485760 ]
then
echo "File too big. Cannot be more than 10MB."