Fixed errors in variable handling

This commit is contained in:
Gandalf 2021-03-29 11:47:14 +02:00
parent eaf51c696d
commit 996c524b0e

View file

@ -27,13 +27,13 @@ done
if [ $IDF = false ]
then
echo "Guessing…"
$ID=$(tail -n 1 $BASEPATH/.fax_history)
ID=$(tail -n 1 $BASEPATH/.fax_history)
if [ -z $ID ]
then
echo "Nothing to guess from. Please send a fax first"
exit 1
fi
$IDF=true
IDF=true
fi
. $BASEPATH/authorization.sh # stellt AUTH_TOKEN bereit