fixing logical error
This commit is contained in:
parent
56ee1b4230
commit
b66a82fe0d
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue