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 ] if [ $IDF = false ]
then then
echo "Guessing…" echo "Guessing…"
$ID=$(tail -n 1 $BASEPATH/.fax_history) ID=$(tail -n 1 $BASEPATH/.fax_history)
if [ -z $ID ] if [ -z $ID ]
then then
echo "Nothing to guess from. Please send a fax first" echo "Nothing to guess from. Please send a fax first"
exit 1 exit 1
fi fi
$IDF=true IDF=true
fi fi
. $BASEPATH/authorization.sh # stellt AUTH_TOKEN bereit . $BASEPATH/authorization.sh # stellt AUTH_TOKEN bereit