leerzeichen beim grep und sed entfernt
This commit is contained in:
parent
235204ce0c
commit
f693fac050
|
|
@ -21,7 +21,7 @@ if [ ! -r "$configfile" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
apitoken=$(grep ^"apitoken = " "$configfile" | sed -e "s/apitoken = //")
|
apitoken=$(grep ^"apitoken=" "$configfile" | sed -e "s/apitoken=//")
|
||||||
|
|
||||||
if [ -z "$apitoken" ]; then
|
if [ -z "$apitoken" ]; then
|
||||||
echo "apitoken is not defined in $configfile"
|
echo "apitoken is not defined in $configfile"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue