changeset 569:fb81aeccde8b

restored commit 0090285a5689: the fix was actualy good, my bad
author Goffi <goffi@goffi.org>
date Fri, 10 Oct 2014 16:45:53 +0200
parents d020f42b5a79
children 2a4e071633f7
files src/libervia.sh
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/libervia.sh	Fri Oct 10 16:28:38 2014 +0200
+++ b/src/libervia.sh	Fri Oct 10 16:45:53 2014 +0200
@@ -86,6 +86,7 @@
 		echo "bad argument, please use one of (stop, debug, fg, status) or no argument"
 		exit 1
     fi
+    shift
 fi
 
 
@@ -102,6 +103,4 @@
     mkdir $log_dir
 fi
 
-shift
-
 twistd $MAIN_OPTIONS $ADDITIONAL_OPTIONS $APP_NAME_FILE $PLUGIN_OPTIONS $@