diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2015-06-06 10:58:52 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2015-06-06 11:01:41 +0200 |
commit | b69dffe00dd8d598c988267fe3117c2a5031304b (patch) | |
tree | 225966743c60ff7b0057d2cd13702128fe2e5975 /nix-utils.sh | |
parent | 0c909a46ca5be32604157e57bc2ba61a8fcfe335 (diff) |
Fix: stdout needs comparison with doubled brackets
Diffstat (limited to 'nix-utils.sh')
-rw-r--r-- | nix-utils.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nix-utils.sh b/nix-utils.sh index 98fd94b..b58d86a 100644 --- a/nix-utils.sh +++ b/nix-utils.sh @@ -9,7 +9,7 @@ stderr() { } stdout() { - [ $VERBOSE -eq 1 ] && echo -e "${Green}[$(basename $0)]:${Color_Off} $*" + [[ $VERBOSE -eq 1 ]] && echo -e "${Green}[$(basename $0)]:${Color_Off} $*" } scriptname_to_command() { |