Catch a hard crash when running highstate on windows

- Workaround for issue #24002
This commit is contained in:
Daniel Hobley 2015-07-28 15:55:58 +02:00 committed by rallytime
parent 423d528b73
commit 65b18e3b34

View file

@ -24,7 +24,7 @@ def running(opts):
data = _read_proc_file(path, opts)
if data is not None:
ret.append(data)
except IOError:
except (IOError, OSError):
# proc files may be removed at any time during this process by
# the minion process that is executing the JID in question, so
# we must ignore ENOENT during this process