commit 5c983bd05ee1832e51954848e32905a38163abc2
parent c0e6ce75193dbf1a1febe876a6ddddf08b5ad5be
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 6 Feb 2023 18:37:05 +0100
-fix negation for shutdown of PG
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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