mirror of
https://github.com/os-mnemo/pan-globalprotect-okta
synced 2026-07-31 15:54:36 +02:00
do not close file, flush is enough for now - otherwise it might get deleted in case of the temp file solution
This commit is contained in:
@@ -563,7 +563,6 @@ def main():
|
|||||||
else:
|
else:
|
||||||
pcmd = 'printf \'' + bugs + '{0}\''.format(cookie)
|
pcmd = 'printf \'' + bugs + '{0}\''.format(cookie)
|
||||||
print()
|
print()
|
||||||
conf['openconnect_certs'].close()
|
|
||||||
if conf.get('execute', '').lower() in ['1', 'true']:
|
if conf.get('execute', '').lower() in ['1', 'true']:
|
||||||
cmd = shlex.split(cmd)
|
cmd = shlex.split(cmd)
|
||||||
cmd = [os.path.expandvars(os.path.expanduser(x)) for x in cmd]
|
cmd = [os.path.expandvars(os.path.expanduser(x)) for x in cmd]
|
||||||
|
|||||||
Reference in New Issue
Block a user