fix sock_dir change for eventlisten script

This commit is contained in:
Thomas S Hatch 2012-10-15 22:50:31 -06:00
parent ef7cfcb4b2
commit c1fc9d6726

View file

@ -8,9 +8,7 @@ This script is a generic tool to test event output
# Import Python libs
import optparse
import pprint
import os
import time
import tempfile
# Import Salt libs
import salt.utils.event
@ -25,7 +23,7 @@ def parse():
parser.add_option('-s',
'--sock-dir',
dest='sock_dir',
default=os.path.join(tempfile.gettempdir(), '.salt-unix'),
default='/var/run/salt',
help=('Staticly define the directory holding the salt unix '
'sockets for communication'))
parser.add_option('-n',