Skip to content

Commit

Permalink
[SPARK-2627] fail check on non-zero status
Browse files Browse the repository at this point in the history
  • Loading branch information
nchammas committed Aug 3, 2014
1 parent 723ed39 commit beaa9ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/lint-python
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pep8 ./python --exclude="cloudpickle.py" \
> "$PEP8_REPORT_PATH"
pep8_status=${PIPESTATUS[0]} #$?

if [ $pep8_status ]
if [ $pep8_status -ne 0 ]
then
echo "PEP8 checks failed."
cat "$PEP8_REPORT_PATH"
Expand Down

0 comments on commit beaa9ac

Please sign in to comment.