1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-03-21 10:50:35 +03:00

Minifix for ADP runner

This commit is contained in:
Игорь Чудов 2019-12-20 00:30:24 +04:00 committed by Evgeny Sinelnikov
parent 026b5d7faa
commit bb28a4e705

View File

@ -12,8 +12,9 @@ class adp:
def run(self):
try:
loggging.info('Running ADP plugin')
subprocess.call(['/usr/sbin/adp-fetch'])
logging.info('Running ADP plugin')
subprocess.call(['/usr/bin/adp', 'fetch'])
subprocess.call(['/usr/bin/adp', 'apply'])
except Exception as exc:
logging.error('Error running ADP')