Permalink
Browse files

Use printf instead of the non-POSIX echo -n

  • Loading branch information...
j3h committed Mar 6, 2012
1 parent 775b68b commit cc8dabbb580e143bd9c9c5161bed3d2b7335cf80
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/template/src/scripts/service.sh
@@ -38,7 +38,7 @@ fi
case "$1" in
start)
- echo -n "Starting $APP_NAME... "
+ printf "Starting %s... " "$APP_NAME"
if running; then
echo "already running."
@@ -60,7 +60,7 @@ case "$1" in
;;
stop)
- echo -n "Stopping $APP_NAME... "
+ printf "Stopping %s... " "$APP_NAME"
if [ ! -f $PIDFILE ]; then
GUESSED_PID=`pgrep -u $USER java`

0 comments on commit cc8dabb

Please sign in to comment.