mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Add verification of env back into salt-call
This commit is contained in:
parent
bb1a005ece
commit
109985d5a3
@ -674,6 +674,11 @@ class SaltCall(object):
|
||||
opts['fun'] = ''
|
||||
opts['arg'] = []
|
||||
|
||||
salt.verify_env([opts['pki_dir'],
|
||||
opts['cachedir'],
|
||||
os.path.dirname(opts['log_file']),
|
||||
])
|
||||
|
||||
return opts
|
||||
|
||||
def run(self):
|
||||
|
Loading…
Reference in New Issue
Block a user