mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Fix IOError when using check_cmd
This commit is contained in:
parent
eccbfe602e
commit
b27c176f1c
@ -1495,6 +1495,10 @@ def managed(name,
|
||||
if isinstance(cret, dict):
|
||||
ret.update(cret)
|
||||
return ret
|
||||
# Since we generated a new tempfile and we are not returning here
|
||||
# lets change the original sfn to the new tempfile or else we will
|
||||
# get file not found
|
||||
sfn = tmp_filename
|
||||
else:
|
||||
ret = {'changes': {},
|
||||
'comment': '',
|
||||
|
Loading…
Reference in New Issue
Block a user