Fix if statement causing 'exit 1'

This commit is contained in:
Dylan 2016-01-30 01:07:01 +11:00
parent 18aa82afc8
commit a03a17a1a7
1 changed files with 3 additions and 1 deletions

4
fetch
View File

@ -1992,7 +1992,9 @@ fi
printf "%b%s" "\033[?25h"
# If enabled take a screenshot
[ "$scrot" == "on" ] && takescrot
if [ "$scrot" == "on" ]; then
takescrot
fi
# }}}