Skip to content

Commit

Permalink
Fix wrong exit-code when helper.gz is encountered.
Browse files Browse the repository at this point in the history
`sort-edn-log.sh` should exit with 0 not 1.
  • Loading branch information
Matt Russell committed Jun 24, 2016
1 parent 6d4ddb1 commit 665c709
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@
directory.

## 0.4.8-SNAPSHOT - (un-released)
- Back to development.
- Fix wrong exit-code when helper.gz is encountered in `sort-edn-log.sh`.
2 changes: 1 addition & 1 deletion scripts/sort-edn-log.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fi
log_filename="$(basename $edn_path)"

if [ "$log_filename" = "helper.edn.gz" ]; then
exit 1
exit 0
fi

sorted_filename="$(echo $log_filename | sed 's/.gz$/.sort.gz/')"
Expand Down

0 comments on commit 665c709

Please sign in to comment.