Allow relative paths for --config_dir with daemonized minions

This commit is contained in:
Jeremy Rosenbaum 2015-01-24 15:50:52 -08:00
parent 3b030bbf97
commit 97975f4028

View File

@ -115,15 +115,6 @@ def salt_minion():
minion.start()
return
if '-d' in sys.argv or '--daemon' in sys.argv:
# disable daemonize on sub processes
if '-d' in sys.argv:
sys.argv.remove('-d')
if '--daemon' in sys.argv:
sys.argv.remove('--daemon')
# daemonize current process
salt.utils.daemonize()
# keep one minion subprocess running
while True:
try: