From 3982c9ae0fea46655dfaac872ff67b6e65a26bfe Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 23 Oct 2003 14:12:22 +0000 Subject: [PATCH] Use printf instead of echo -n --- src/yaz-proxy.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 1.7.10.4