--port and --pidfile didn't have '=' in getopt options.
Signed-off-by: Jiri Prochazka <jprochaz(a)redhat.com>
---
lnst-slave | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lnst-slave b/lnst-slave
index ce6c390..d4345c3 100755
--- a/lnst-slave
+++ b/lnst-slave
@@ -43,7 +43,7 @@ def main():
opts = getopt.getopt(
sys.argv[1:],
"dhei:p:m",
- ["debug", "help", "daemonize",
"pidfile", "port", "no-colours"]
+ ["debug", "help", "daemonize",
"pidfile=", "port=", "no-colours"]
)[0]
except getopt.GetoptError as err:
print str(err)
--
2.1.0