Update os command call

This commit is contained in:
Miguel Nogueira 2019-07-08 23:31:06 +00:00
parent 995059ce1b
commit f5c074eb42
1 changed files with 1 additions and 1 deletions

2
pyvpn
View File

@ -52,7 +52,7 @@ if len(sys.argv) > 2:
if prog == "/usr/bin/revoke-vpn-user\n": 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: else:
sys.stdout.write("Error! This system is not ready for client revocation yet. Please try again later.") sys.stdout.write("Error! This system is not ready for client revocation yet. Please try again later.")
sys.stdout.flush() sys.stdout.flush()