From a03a17a1a75f75f3ba34e906cc9cfc04a688426b Mon Sep 17 00:00:00 2001 From: Dylan Date: Sat, 30 Jan 2016 01:07:01 +1100 Subject: [PATCH] Fix if statement causing 'exit 1' --- fetch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fetch b/fetch index 6fb26412..f77b19e9 100755 --- a/fetch +++ b/fetch @@ -1992,7 +1992,9 @@ fi printf "%b%s" "\033[?25h" # If enabled take a screenshot -[ "$scrot" == "on" ] && takescrot +if [ "$scrot" == "on" ]; then + takescrot +fi # }}}