From 23f13af771ab0ef4b48f6481f5b50763c8e1a43f Mon Sep 17 00:00:00 2001 From: Faiyaz Ahmed Date: Wed, 1 Apr 2009 17:47:08 +0000 Subject: [PATCH] use log_call instead of os.system to capture restart messages. --- plugins/vsys.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/vsys.py b/plugins/vsys.py index d26ee4a..939158c 100644 --- a/plugins/vsys.py +++ b/plugins/vsys.py @@ -38,7 +38,7 @@ def GetSlivers(data): # Write out the ACLs if writeAcls(scripts, parseAcls()) or _restart: logger.log("vsys: restarting vsys service") - os.system("/etc/init.d/vsys restart") + logger.log_call("/etc/init.d/vsys", "restart") def createVsysDir(sliver): -- 2.43.0