]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: fix bad syntax: "124: [: missing ]"
authorAlain Spineux <alain@baculasystems.com>
Tue, 8 Dec 2020 14:38:31 +0000 (15:38 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:02:59 +0000 (09:02 +0100)
regress/tests/bconsole-test

index d54c28f310e09b7002352cc249658e4adf551750..ce186c90f44999efb8d6a3b7983a32abe3442bb4 100755 (executable)
@@ -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