From: Alain Spineux Date: Tue, 8 Dec 2020 14:38:31 +0000 (+0100) Subject: regress: fix bad syntax: "124: [: missing ]" X-Git-Tag: Release-11.3.2~803 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=210bc6b88a7d0d4cbff81dadbf2180a65efc4587;p=thirdparty%2Fbacula.git regress: fix bad syntax: "124: [: missing ]" --- diff --git a/regress/tests/bconsole-test b/regress/tests/bconsole-test index d54c28f31..ce186c90f 100755 --- a/regress/tests/bconsole-test +++ b/regress/tests/bconsole-test @@ -121,7 +121,7 @@ if [ $? -ne 0 ]; then fi ldd $bin/bconsole | grep readline > /dev/null -if [ $? = 0 && ! -f $tmp/histfile ]; then +if [ $? -eq 0 -a ! -f $tmp/histfile ]; then print_debug "bconsole history file not found" estat=14 fi