Fix --unix-target option

This commit is contained in:
mostafa sameh 2012-09-18 09:20:39 +02:00
parent 6d9deda9c5
commit eb6d4e183b
1 changed files with 1 additions and 1 deletions

View File

@ -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:]