From f5c074eb42d7b18040b834d02638c65bbe1cf2d6 Mon Sep 17 00:00:00 2001 From: Miguel Nogueira Date: Mon, 8 Jul 2019 23:31:06 +0000 Subject: [PATCH] Update os command call --- pyvpn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()