Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use printf instead of the non-POSIX echo -n

  • Loading branch information...
commit cc8dabbb580e143bd9c9c5161bed3d2b7335cf80 1 parent 775b68b
@j3h j3h authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/template/src/scripts/service.sh
View
4 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`
Please sign in to comment.
Something went wrong with that request. Please try again.