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

Log message fixes

This commit is contained in:
Игорь Чудов 2020-07-23 18:30:49 +04:00
parent 749ce49bf5
commit 4bf59442ac
Signed by untrusted user: nir
GPG Key ID: 0F3883600CAE7AAC

View File

@ -29,7 +29,7 @@ def error_code(code):
error_ids[1] = 'Insufficient permissions to run gpupdate'
error_ids[2] = 'gpupdate will not be started'
error_ids[3] = 'Backend execution error'
error_ids[4] = 'Error occured while running frontend manager'
error_ids[4] = 'Error occurred while running frontend manager'
error_ids[5] = 'Error running GPOA for computer'
error_ids[6] = 'Error running GPOA for user'
@ -45,11 +45,11 @@ def debug_code(code):
def warning_code(code):
warning_ids = dict()
warning_ids[1] = (
'Unable to perform gpupdate for non-existent user,'
'Unable to perform gpupdate for non-existent user, '
'will update machine settings'
)
warning_ids[2] = (
'Current permissions does not allow to perform gpupdate for'
'Current permissions does not allow to perform gpupdate for '
'designted user. Will update current user settings'
)
warning_ids[3] = 'oddjobd is inaccessible'