public inbox for [email protected]
help / color / mirror / Atom feedFrom: Taiki Koshino <[email protected]>
To: [email protected]
Subject: pgpool: Fix safer directory deletion in Bash in recovery_1st_stage.samp
Date: Wed, 10 Sep 2025 06:28:52 +0000
Message-ID: <[email protected]> (raw)
Fix safer directory deletion in Bash in recovery_1st_stage.sample.
Quote variables in rm commands to avoid accidental deletion:
rm -rf "${DEST_NODE_PGDATA}"
If the variable is empty, rm could delete unexpected files or directories.
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=58446a66f8d7f461de0407f41a15e8fd9fe90...
Modified Files
--------------
src/sample/scripts/recovery_1st_stage.sample | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: pgpool: Fix safer directory deletion in Bash in recovery_1st_stage.samp
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox