Skip to content

Commit d5da254

Browse files
committed
Add missing quotes around PGBIN
1 parent 4abedc3 commit d5da254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pgpro-upgrade/pgpro_upgrade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ if [ ! -f "${PGDATA}/global/pg_control" -a -f "${PGDATA}/postgresql.conf" ]; the
4545
exit 1
4646
fi
4747
fi
48-
CATVER=`${PGBIN}pg_controldata|sed -n '/Catalog version number:/s/^.*: *//p'`
48+
CATVER=`"${PGBIN}pg_controldata"|sed -n '/Catalog version number:/s/^.*: *//p'`
4949
if [ "$CATVER" != $CATALOG_VERSION_NO ]; then
5050
for v in $UPGRADABLE_CATVER; do
5151
if [ "$CATVER" = "$v" ]; then

0 commit comments

Comments
 (0)