Fix conditional check for NO_SPACE_PREFIX:

master
Icedream 2018-02-20 03:28:05 +01:00
parent 2c7f0d61c2
commit 96f7933f2c
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ log() {
done
fi
prefix=" "
if [ $NO_SPACE_PREFIX -gt 0 ]; then
if [ ${NO_SPACE_PREFIX:-0} -gt 0 ]; then
prefix=""
fi
echo "$*" | while IFS= read -r line; do