Browse code

"echo -n" removed

Jiri Kuthan authored on 03/04/2003 17:19:52
Showing 1 changed files
... ...
@@ -501,7 +501,7 @@ case $1 in
501 501
 	start)
502 502
 		DIR=`dirname $0`
503 503
 		echo
504
-		echo -n "Starting SER : "
504
+		printf "Starting SER : "
505 505
 		if [ -r $PID_FILE ] ; then
506 506
 			echo "PID file exists! ($PID_FILE) already running?"
507 507
 			exit 1
... ...
@@ -518,7 +518,7 @@ case $1 in
518 518
 	;;
519 519
 
520 520
 	stop)
521
-		echo -n "Stopping SER : "
521
+		printf "Stopping SER : "
522 522
 		if [ -r $PID_FILE ] ; then
523 523
 			kill `cat $PID_FILE`
524 524
 			echo "stopped"
... ...
@@ -531,7 +531,7 @@ case $1 in
531 531
 
532 532
 	restart)
533 533
 	        DIR=`dirname $0`
534
-		echo -n "Stopping SER : "
534
+		printf "Stopping SER : "
535 535
 		if [ -r $PID_FILE ] ; then
536 536
 			kill `cat $PID_FILE`
537 537
 			echo "stopped"
... ...
@@ -540,7 +540,7 @@ case $1 in
540 540
 			exit 1
541 541
 		fi
542 542
 		sleep 2
543
-		echo -n "Starting SER : "
543
+		printf "Starting SER : "
544 544
 		if [ -r $PID_FILE ] ; then
545 545
 			echo "PID file exists! ($PID_FILE) already running?"
546 546
 			exit 1
... ...
@@ -701,8 +701,8 @@ case $1 in
701 701
 		else
702 702
 			sql_ro_query "$QUERY3"
703 703
 		fi
704
-		echo -n "Note: Due to usage of cache, server's list "
705
-		echo "may differ from DB list."
704
+		echo "Note: Due to usage of cache, server's list " \
705
+			"may differ from DB list."
706 706
 
707 707
 		;;
708 708