aboutsummaryrefslogtreecommitdiff
path: root/src/auditor/test-revocation.sh
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2022-10-04 11:34:46 +0200
committerÖzgür Kesim <oec-taler@kesim.org>2022-10-04 11:34:46 +0200
commit3fdf88f612719f062e5a19969f22204075941128 (patch)
treea6db5ecf9f1654878d0a51420878d95f489fd27c /src/auditor/test-revocation.sh
parent3ec07d62c35f0e74ed53cb0712ccb446fe656728 (diff)
-fix some vars
Diffstat (limited to 'src/auditor/test-revocation.sh')
-rwxr-xr-xsrc/auditor/test-revocation.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/auditor/test-revocation.sh b/src/auditor/test-revocation.sh
index e21b9487..c25f15e8 100755
--- a/src/auditor/test-revocation.sh
+++ b/src/auditor/test-revocation.sh
@@ -96,7 +96,7 @@ function cleanup()
function exit_cleanup()
{
echo "Running exit-cleanup"
- if test ! -z ${POSTGRES_PATH:-}
+ if [[ ! -z ${POSTGRES_PATH:-} ]]
then
echo "Stopping Postgres at ${POSTGRES_PATH}"
${POSTGRES_PATH}/pg_ctl -D $TMPDIR -l /dev/null stop &> /dev/null || true