diff --git a/pyvpn b/pyvpn index 6439627..75e87ab 100755 --- a/pyvpn +++ b/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()