fixing logical error

This commit is contained in:
staticsafe 2012-01-08 15:03:52 -05:00
parent 56ee1b4230
commit b66a82fe0d
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ vimdirurl = "https://github.com/staticsafe/dotfiles/raw/master/vimdir.tar.bz2"
def sudocheck(): def sudocheck():
#sudocheck #sudocheck
sudopath = "/usr/bin/sudo" sudopath = "/usr/bin/sudo"
if os.path.isfile(sudopath) == True: if os.path.isfile(sudopath) == False:
print 'This script needs sudo to run!' print 'This script needs sudo to run!'
raise SystemExit raise SystemExit
else: else: