fix check's return value
remove unused variable
Merge branch 'master' of gitolite:norx
added usage warning