It prevents non-root users to check service status.
Signed-off-by: Flavio Leitner <[email protected]>
---
utilities/ovs-lib.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/utilities/ovs-lib.in b/utilities/ovs-lib.in
index 029ed3b..f14862d 100644
--- a/utilities/ovs-lib.in
+++ b/utilities/ovs-lib.in
@@ -51,10 +51,10 @@ ovs_ctl () {
;;
"status")
# In case of the command 'status', we should return the exit status
- # of ovs-ctl. It is also useful to document the o/p in ovs-ctl.log.
+ # of ovs-ctl.
display=`"${datadir}/scripts/ovs-ctl" "$@" 2>&1`
rc=$?
- echo "${display}" | tee -a "${logdir}/ovs-ctl.log"
+ echo "${display}"
return ${rc}
;;
*)
--
1.8.5.3
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev