diff src/libervia.sh @ 568:d020f42b5a79

revert commit 0090285a5689: the fix is bad and broke extra commands
author Goffi <goffi@goffi.org>
date Fri, 10 Oct 2014 16:28:38 +0200
parents 0090285a5689
children fb81aeccde8b
line wrap: on
line diff
--- a/src/libervia.sh	Mon Oct 06 12:47:03 2014 +0200
+++ b/src/libervia.sh	Fri Oct 10 16:28:38 2014 +0200
@@ -86,7 +86,6 @@
 		echo "bad argument, please use one of (stop, debug, fg, status) or no argument"
 		exit 1
     fi
-    shift
 fi
 
 
@@ -103,4 +102,6 @@
     mkdir $log_dir
 fi
 
+shift
+
 twistd $MAIN_OPTIONS $ADDITIONAL_OPTIONS $APP_NAME_FILE $PLUGIN_OPTIONS $@