commit | 2869a926212f596af6c87f883b7dd937878caf83 | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Fri Oct 18 14:42:34 2019 +1030 |
committer | Andrew Geissler <geissonator@yahoo.com> | Mon Oct 28 21:04:07 2019 +0000 |
tree | 106fd0f86bac763eabb3092cf16589ca30d51d7f | |
parent | a6e7bbf0d63b33382448a62ae08661ef17f60e64 [diff] |
obmcutil: Quote variable in non-zero test to avoid always true result Currently adding `--wait` invokes verbose output even if `--verbose` is not supplied. Change-Id: Ib14d0cc7e6f0bf31d147537b58f1a65b7d99450a Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/obmcutil b/obmcutil index d8463d5..59a1801 100644 --- a/obmcutil +++ b/obmcutil
@@ -53,7 +53,7 @@ local cmd="$@" local verbose_child= - if [ -n $G_VERBOSE ]; then + if [ -n "$G_VERBOSE" ]; then journalctl -f & verbose_child=$! fi