Merge pull request #8857 from basepi/minioneventlisten

Fix eventlisten.py for minion event bus
This commit is contained in:
Joseph Hall 2013-11-27 08:43:20 -08:00
commit d8b609c279

View File

@ -44,6 +44,8 @@ def parse():
if v is not None:
opts[k] = v
opts['sock_dir'] = os.path.join(opts['sock_dir'], opts['node'])
if 'minion' in options.node:
if args:
opts['id'] = args[0]
@ -51,8 +53,6 @@ def parse():
opts['id'] = options.node
opts['sock_dir'] = os.path.join(opts['sock_dir'], opts['node'])
return opts