diff options
author | Peter Eisentraut | 2006-07-13 14:44:33 +0000 |
---|---|---|
committer | Peter Eisentraut | 2006-07-13 14:44:33 +0000 |
commit | bd20bd43ef4dc0308e04e8efc7c0a451bbd9e08b (patch) | |
tree | 8744adb4898f6b7ef39251f9a7500ff44e34d5be | |
parent | 0f7d39bc34ce028e37f985a811ea4a7e9f68fdea (diff) |
Be consistent about not using ECHO_N/ECHO_C (seems unnecessary on Linux).
-rw-r--r-- | contrib/start-scripts/linux | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/contrib/start-scripts/linux b/contrib/start-scripts/linux index 51a4605273..a2596b8155 100644 --- a/contrib/start-scripts/linux +++ b/contrib/start-scripts/linux @@ -42,15 +42,6 @@ PGLOG="$PGDATA/serverlog" ## STOP EDITING HERE -# Check for echo -n vs echo \c -if echo '\c' | grep -s c >/dev/null 2>&1 ; then - ECHO_N="echo -n" - ECHO_C="" -else - ECHO_N="echo" - ECHO_C='\c' -fi - # The path that is to be used for the script PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin @@ -70,7 +61,7 @@ test -x $DAEMON || exit 0 # Parse command line parameters. case $1 in start) - $ECHO_N "Starting PostgreSQL: "$ECHO_C + echo -n "Starting PostgreSQL: " su - $PGUSER -c "$DAEMON -D '$PGDATA' &" >>$PGLOG 2>&1 echo "ok" ;; |