diff options
author | Peter Eisentraut | 2017-01-12 17:00:00 +0000 |
---|---|---|
committer | Peter Eisentraut | 2017-01-12 15:17:37 +0000 |
commit | da0dbea9c30e7c91e9e78d72ab3dbee77d7ca0cd (patch) | |
tree | b9c193c7e0317c22d0e6181425b28df342b84976 /contrib/start-scripts | |
parent | 76568d37865c5c21ae154008b2c681e3e32ac880 (diff) |
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.
Diffstat (limited to 'contrib/start-scripts')
-rw-r--r-- | contrib/start-scripts/linux | 8 | ||||
-rwxr-xr-x | contrib/start-scripts/osx/PostgreSQL | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/contrib/start-scripts/linux b/contrib/start-scripts/linux index 763a8064abb..c88433a0e2b 100644 --- a/contrib/start-scripts/linux +++ b/contrib/start-scripts/linux @@ -108,10 +108,10 @@ case $1 in echo "ok" ;; reload) - echo -n "Reload PostgreSQL: " - su - $PGUSER -c "$PGCTL reload -D '$PGDATA' -s" - echo "ok" - ;; + echo -n "Reload PostgreSQL: " + su - $PGUSER -c "$PGCTL reload -D '$PGDATA' -s" + echo "ok" + ;; status) su - $PGUSER -c "$PGCTL status -D '$PGDATA'" ;; diff --git a/contrib/start-scripts/osx/PostgreSQL b/contrib/start-scripts/osx/PostgreSQL index 24872b0944d..d38504dcc26 100755 --- a/contrib/start-scripts/osx/PostgreSQL +++ b/contrib/start-scripts/osx/PostgreSQL @@ -96,9 +96,9 @@ StopService () { RestartService () { if [ "${POSTGRESQL:=-NO-}" = "-YES-" ]; then ConsoleMessage "Restarting PostgreSQL database server" - # should match StopService: - sudo -u $PGUSER sh -c "$PGCTL stop -D '${PGDATA}' -s -m fast" - # should match StartService: + # should match StopService: + sudo -u $PGUSER sh -c "$PGCTL stop -D '${PGDATA}' -s -m fast" + # should match StartService: if [ "${ROTATELOGS}" = "1" ]; then sudo -u $PGUSER sh -c "${DAEMON} -D '${PGDATA}' &" 2>&1 | ${LOGUTIL} "${PGLOG}" ${ROTATESEC} & else |