From b66a82fe0de57230f9872ad5b07087d15a3efbad Mon Sep 17 00:00:00 2001 From: staticsafe Date: Sun, 8 Jan 2012 15:03:52 -0500 Subject: [PATCH] fixing logical error --- envsetup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/envsetup.py b/envsetup.py index a0c1f76..324bbde 100644 --- a/envsetup.py +++ b/envsetup.py @@ -17,7 +17,7 @@ vimdirurl = "https://github.com/staticsafe/dotfiles/raw/master/vimdir.tar.bz2" def sudocheck(): #sudocheck sudopath = "/usr/bin/sudo" - if os.path.isfile(sudopath) == True: + if os.path.isfile(sudopath) == False: print 'This script needs sudo to run!' raise SystemExit else: