fixing logical error

This commit is contained in:
staticsafe 2012-01-08 15:03:52 -05:00
parent 56ee1b4230
commit b66a82fe0d

View File

@ -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: