We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71dc27e commit 45934c6Copy full SHA for 45934c6
1 file changed
runtime/functions
@@ -259,12 +259,11 @@ trust_localnet() {
259
}
260
261
set_resolvconf_perms() {
262
- echo "Setting resolv ACLs..."
263
- {
264
- setfacl -m user:${PG_USER}:r /etc/resolv.conf
265
- } && {
266
- echo "`setfacl` not supported"
267
- }
+ if setfacl -m user:${PG_USER}:r /etc/resolv.conf; then
+ echo "Setting resolv.conf ACLs..."
+ else
+ echo "resolv.conf ACLs couldn't be set: `setfacl` not supported"
+ fi
268
269
270
configure_recovery() {
0 commit comments