Fixing issue with symlinked vaults

This commit is contained in:
Niko Felger 2014-09-08 16:10:18 +02:00
parent 8604f6dcd9
commit fa74a5c806

View file

@ -1494,7 +1494,7 @@ def _load_vars_from_path(path, results, vault_password=None):
% (path, err2.strerror, ))
# follow symbolic link chains by recursing, so we repeat the same
# permissions checks above and provide useful errors.
return _load_vars_from_path(target, results)
return _load_vars_from_path(target, results, vault_password)
# directory
if stat.S_ISDIR(pathstat.st_mode):