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:
parent
23be105462
commit
73404ceced
@ -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':
|
||||
|
Loading…
x
Reference in New Issue
Block a user