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

Fixed processing of incorrect data

This commit is contained in:
Valery Sinelnikov 2022-06-27 15:22:22 +04:00
parent 23be105462
commit 73404ceced

View File

@ -125,6 +125,8 @@ class Script:
action_upper = action.upper()
self.action = action_upper
self.path = os.path.join(script_dir, action_upper, script_filename.upper())
if not os.path.isfile(self.path):
return None
self.args = None
if action_upper == 'LOGON':