From: Adam Dickmeiss Date: Thu, 23 Oct 2003 14:12:22 +0000 (+0000) Subject: Use printf instead of echo -n X-Git-Tag: YAZPP.0.7.2~8 X-Git-Url: http://git.indexdata.com/?p=yazpp-moved-to-github.git;a=commitdiff_plain;h=3982c9ae0fea46655dfaac872ff67b6e65a26bfe Use printf instead of echo -n --- diff --git a/src/yaz-proxy.sh b/src/yaz-proxy.sh index e097a3e..757e240 100755 --- a/src/yaz-proxy.sh +++ b/src/yaz-proxy.sh @@ -47,13 +47,13 @@ set -e case "$1" in start) - echo -n "Starting $DESC: " + printf "%s" "Starting $DESC: " cd $DIR $DAEMON -l $LOGFILE -p $PIDFILE $ARGS @:$PORT & echo "$NAME." ;; stop) - echo -n "Stopping $DESC: " + printf "%s" "Stopping $DESC: " if test -f $PIDFILE; then kill `cat $PIDFILE` @@ -69,7 +69,7 @@ case "$1" in fi ;; restart|force-reload) - echo -n "Restarting $DESC: " + printf "%s" "Restarting $DESC: " if test -f $PIDFILE; then kill `cat $PIDFILE` rm -f $PIDFILE