summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-02-06 18:37:05 +0100
committerChristian Grothoff <christian@grothoff.org>2023-02-06 18:37:05 +0100
commit5c983bd05ee1832e51954848e32905a38163abc2 (patch)
tree4c2e9d12cd53889d8b762fde539fab98d9f11206
parentc0e6ce75193dbf1a1febe876a6ddddf08b5ad5be (diff)
downloadexchange-5c983bd05ee1832e51954848e32905a38163abc2.tar.gz
exchange-5c983bd05ee1832e51954848e32905a38163abc2.tar.bz2
exchange-5c983bd05ee1832e51954848e32905a38163abc2.zip
-fix negation for shutdown of PG
-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 187cc0311..a1f0ab1a9 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 test ! -z "${POSTGRES_PATH:-}"
then
echo "Stopping Postgres at ${POSTGRES_PATH}"
${POSTGRES_PATH}/pg_ctl -D $TMPDIR -l /dev/null stop &> /dev/null || true