commit d1c16ba280d925b7b0724e8c47dca959a46c19d5 Author: Damian Johnson atagar@torproject.org Date: Sat Aug 6 16:24:46 2011 -0700
fix: misparsing sudo version string --- src/cli/wizard.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/cli/wizard.py b/src/cli/wizard.py index ff4e5cf..f0c14a8 100644 --- a/src/cli/wizard.py +++ b/src/cli/wizard.py @@ -417,7 +417,7 @@ def showWizard(): sudoVersionResult = sysTools.call("sudo -V")
# version output looks like "Sudo version 1.7.2p7" - if len(sudoVersionResult) == 1 and sudoVersionResult.count(" ") >= 2: + if len(sudoVersionResult) == 1 and sudoVersionResult[0].count(" ") >= 2: versionNum = 0
for comp in sudoVersionResult[0].split(" ")[2].split("."):
tor-commits@lists.torproject.org