projects
/
yazpp-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfa2a32
)
Use printf instead of echo -n
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 23 Oct 2003 14:12:22 +0000
(14:12 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 23 Oct 2003 14:12:22 +0000
(14:12 +0000)
src/yaz-proxy.sh
patch
|
blob
|
history
diff --git
a/src/yaz-proxy.sh
b/src/yaz-proxy.sh
index
e097a3e
..
757e240
100755
(executable)
--- 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