changeset 562:7e8356479fef

misc: launch script fix (there can now be more than 1 argument)
author Goffi <goffi@goffi.org>
date Fri, 03 Oct 2014 18:31:40 +0200
parents 160b45937ed2
children d888bb2a23a9
files src/libervia.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/libervia.sh	Fri Oct 03 18:13:48 2014 +0200
+++ b/src/libervia.sh	Fri Oct 03 18:31:40 2014 +0200
@@ -57,7 +57,7 @@
 NOT_RUNNING_MSG="$APP_NAME is *NOT* running"
 
 # if there is one argument which is "stop", then we kill Libervia
-if [ $# -eq 1 ];then
+if [ $# -ge 1 ];then
     if [ $1 = "stop" ];then
         kill_process $PID_FILE "$APP_NAME"
         exit 0