From eb6d4e183b7fb66efb97aa0c234626362bbfd963 Mon Sep 17 00:00:00 2001 From: mostafa sameh Date: Tue, 18 Sep 2012 09:20:39 +0200 Subject: [PATCH] Fix --unix-target option --- websockify/websocketproxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websockify/websocketproxy.py b/websockify/websocketproxy.py index 13f6582..c99d305 100755 --- a/websockify/websocketproxy.py +++ b/websockify/websocketproxy.py @@ -338,7 +338,7 @@ def websockify_init(): (opts, args) = parser.parse_args() # Sanity checks - if len(args) < 2 and not opts.target_cfg: + if len(args) < 2 and not (opts.target_cfg or opts.unix_target): parser.error("Too few arguments") if sys.argv.count('--'): opts.wrap_cmd = args[1:]