Update os command call
This commit is contained in:
parent
995059ce1b
commit
f5c074eb42
2
pyvpn
2
pyvpn
@ -52,7 +52,7 @@ if len(sys.argv) > 2:
|
||||
|
||||
if prog == "/usr/bin/revoke-vpn-user\n":
|
||||
|
||||
os.system(prog + " " + sys.argv[2])
|
||||
os.system("bash /usr/bin/revoke-vpn-user " + sys.argv[2])
|
||||
else:
|
||||
sys.stdout.write("Error! This system is not ready for client revocation yet. Please try again later.")
|
||||
sys.stdout.flush()
|
||||
|
Loading…
Reference in New Issue
Block a user