mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix some more integration tests for Linux
This commit is contained in:
parent
3f0499cbc4
commit
72ac59c991
1 changed files with 5 additions and 1 deletions
|
@ -883,7 +883,11 @@ def _check_dir_meta(name,
|
|||
'''
|
||||
Check the changes in directory metadata
|
||||
'''
|
||||
stats = __salt__['file.stats'](name, None, follow_symlinks)
|
||||
try:
|
||||
stats = __salt__['file.stats'](name, None, follow_symlinks)
|
||||
except CommandExecutionError:
|
||||
state = {}
|
||||
|
||||
changes = {}
|
||||
if not stats:
|
||||
changes['directory'] = 'new'
|
||||
|
|
Loading…
Add table
Reference in a new issue