mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Add fix from merge forward
This commit is contained in:
parent
52f35f761a
commit
38e243fdfb
@ -364,7 +364,7 @@ class Client(object):
|
||||
localsfilesdest = os.path.join(
|
||||
self.opts['cachedir'], 'localfiles', path.lstrip('|/'))
|
||||
filesdest = os.path.join(
|
||||
self.opts['cachedir'], 'files', saltenv, path.lstrip('|'))
|
||||
self.opts['cachedir'], 'files', saltenv, path.lstrip('|/'))
|
||||
|
||||
if os.path.exists(filesdest):
|
||||
return salt.utils.url.escape(filesdest) if escaped else filesdest
|
||||
|
Loading…
Reference in New Issue
Block a user