Fixing issue with symlinked vaults
parent
8604f6dcd9
commit
fa74a5c806
|
@ -1494,7 +1494,7 @@ def _load_vars_from_path(path, results, vault_password=None):
|
||||||
% (path, err2.strerror, ))
|
% (path, err2.strerror, ))
|
||||||
# follow symbolic link chains by recursing, so we repeat the same
|
# follow symbolic link chains by recursing, so we repeat the same
|
||||||
# permissions checks above and provide useful errors.
|
# permissions checks above and provide useful errors.
|
||||||
return _load_vars_from_path(target, results)
|
return _load_vars_from_path(target, results, vault_password)
|
||||||
|
|
||||||
# directory
|
# directory
|
||||||
if stat.S_ISDIR(pathstat.st_mode):
|
if stat.S_ISDIR(pathstat.st_mode):
|
||||||
|
|
Loading…
Reference in New Issue