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

gpupdate-setup: Retain behavior of active-policy option

This commit is contained in:
Игорь Чудов 2020-08-20 18:29:29 +04:00
parent e4113e971f
commit 7e7450d52a
Signed by untrusted user: nir
GPG Key ID: 0F3883600CAE7AAC

View File

@ -146,7 +146,7 @@ def get_active_policy_name():
Show the name of an active Local Policy template
'''
config = GPConfig()
return config.get_local_policy_template()
return os.path.basename(config.get_local_policy_template())
def rollback_on_error(command_name):
'''