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
16c2153385
commit
20d9785244
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ def file_hash(load, fnd):
|
|||
except OSError:
|
||||
pass
|
||||
return file_hash(load, fnd)
|
||||
if os.path.getmtime(path) == mtime:
|
||||
if "{}".format(os.path.getmtime(path)) == mtime:
|
||||
# check if mtime changed
|
||||
ret['hsum'] = hsum
|
||||
return ret
|
||||
|
|
Loading…
Add table
Reference in a new issue