Skip to content

Commit da0dbea

Browse files
committed
Make whitespace consistent inside some script files
I don't know what the global standard might be, but at least adjacent code should use the same whitespace.
1 parent 76568d3 commit da0dbea

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

contrib/start-scripts/linux

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,10 @@ case $1 in
108108
echo "ok"
109109
;;
110110
reload)
111-
echo -n "Reload PostgreSQL: "
112-
su - $PGUSER -c "$PGCTL reload -D '$PGDATA' -s"
113-
echo "ok"
114-
;;
111+
echo -n "Reload PostgreSQL: "
112+
su - $PGUSER -c "$PGCTL reload -D '$PGDATA' -s"
113+
echo "ok"
114+
;;
115115
status)
116116
su - $PGUSER -c "$PGCTL status -D '$PGDATA'"
117117
;;

contrib/start-scripts/osx/PostgreSQL

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ StopService () {
9696
RestartService () {
9797
if [ "${POSTGRESQL:=-NO-}" = "-YES-" ]; then
9898
ConsoleMessage "Restarting PostgreSQL database server"
99-
# should match StopService:
100-
sudo -u $PGUSER sh -c "$PGCTL stop -D '${PGDATA}' -s -m fast"
101-
# should match StartService:
99+
# should match StopService:
100+
sudo -u $PGUSER sh -c "$PGCTL stop -D '${PGDATA}' -s -m fast"
101+
# should match StartService:
102102
if [ "${ROTATELOGS}" = "1" ]; then
103103
sudo -u $PGUSER sh -c "${DAEMON} -D '${PGDATA}' &" 2>&1 | ${LOGUTIL} "${PGLOG}" ${ROTATESEC} &
104104
else

0 commit comments

Comments
 (0)