Commit 00648a8b authored by Laurent Peuch's avatar Laurent Peuch

[mod] print less

parent 269e7e96
......@@ -52,7 +52,7 @@ def from_cube():
with debug("Critical part: reloading vpn using '%s'" % command):
if os.system(command) != 0:
print("ERROR: command failed, displaying logs")
os.system("cat /var/log/openvpn-client.log")
os.system("tail -n 200 /var/log/openvpn-client.log")
sys.exit(1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment