Skip to content

Commit

Permalink
update verify.sh to fail using set -e instead of if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Stumpf committed Sep 19, 2017
1 parent 582ee5d commit 64d34a9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions verify.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/bin/bash
set -e
pep8 --max-line-length=120 haproxy.py
if [ "$?" -ne 0 ]; then
exit 1;
fi
py.test test_haproxy.py

0 comments on commit 64d34a9

Please sign in to comment.