From 3fdf88f612719f062e5a19969f22204075941128 Mon Sep 17 00:00:00 2001 From: Özgür Kesim Date: Tue, 4 Oct 2022 11:34:46 +0200 Subject: -fix some vars --- src/auditor/test-sync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/auditor/test-sync.sh') diff --git a/src/auditor/test-sync.sh b/src/auditor/test-sync.sh index 174e03c6..10a2e3f7 100755 --- a/src/auditor/test-sync.sh +++ b/src/auditor/test-sync.sh @@ -32,7 +32,7 @@ function exit_fail() { # Cleanup to run whenever we exit function cleanup() { - if test ! -z ${POSTGRES_PATH:-} + if ! [[ -z ${POSTGRES_PATH:-} ]] then ${POSTGRES_PATH}/pg_ctl -D $TMPDIR stop &> /dev/null || true fi -- cgit v1.2.3