mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Kill an issue on #1101
This commit is contained in:
parent
54503aa13b
commit
22fac0c605
@ -364,7 +364,11 @@ class Minion(object):
|
||||
if self.opts['multiprocessing']:
|
||||
fn_ = os.path.join(self.proc_dir, ret['jid'])
|
||||
if os.path.isfile(fn_):
|
||||
os.remove(fn_)
|
||||
try:
|
||||
os.remove(fn_)
|
||||
except (OSError, IOError):
|
||||
# The file is gone already
|
||||
pass
|
||||
log.info('Returning information for job: {0}'.format(ret['jid']))
|
||||
context = zmq.Context()
|
||||
socket = context.socket(zmq.REQ)
|
||||
|
Loading…
Reference in New Issue
Block a user