mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fix roots modification time check
This commit is contained in:
parent
43930f8bac
commit
9bc35b88ea
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ def file_hash(load, fnd):
|
|||
except OSError:
|
||||
pass
|
||||
return file_hash(load, fnd)
|
||||
if os.path.getmtime(path) == mtime:
|
||||
if str(os.path.getmtime(path)) == mtime:
|
||||
# check if mtime changed
|
||||
ret['hsum'] = hsum
|
||||
return ret
|
||||
|
|
Loading…
Add table
Reference in a new issue