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:
parent
e4113e971f
commit
7e7450d52a
@ -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):
|
||||
'''
|
||||
|
Loading…
x
Reference in New Issue
Block a user