Permalink
Browse files

Changed verifying the OVS version to not require root in MiniEdit.

  • Loading branch information...
1 parent e90a4a7 commit 3cb387ebd0f7402839a8428334dd0754acb2f5dd @NvanAdrichem NvanAdrichem committed Dec 21, 2016
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples/miniedit.py
@@ -379,8 +379,8 @@ def apply(self):
@staticmethod
def getOvsVersion():
"Return OVS version"
- outp = quietRun("ovs-vsctl show")
- r = r'ovs_version: "(.*)"'
+ outp = quietRun("ovs-vsctl --version")
+ r = r'ovs-vsctl \(Open vSwitch\) (.*)'
m = re.search(r, outp)
if m is None:
warn( 'Version check failed' )

0 comments on commit 3cb387e

Please sign in to comment.