Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

env-wal-g: Fix inappropriate 2>&1.

Anders Kaseorg4913fe228df8
diff --git a/puppet/zulip/files/postgresql/env-wal-g b/puppet/zulip/files/postgresql/env-wal-g
index d4ea6edda91..3aff751bb1f 100755
--- a/puppet/zulip/files/postgresql/env-wal-g
+++ b/puppet/zulip/files/postgresql/env-wal-g
@@ -30,7 +30,7 @@ if [ "$s3_backups_bucket" != "" ] || [ -n "$WALG_S3_PREFIX" ]; then
: "${WALG_S3_PREFIX:=s3://$s3_backups_bucket}"
export WALG_S3_PREFIX
- if storage_class=$(crudini --get /etc/zulip/zulip.conf postgresql backups_storage_class 2>&1); then
+ if storage_class=$(crudini --get /etc/zulip/zulip.conf postgresql backups_storage_class 2>/dev/null); then
export WALG_S3_STORAGE_CLASS="$storage_class"
fi
else