Skip to content

Commit

Permalink
fixed trap handling
Browse files Browse the repository at this point in the history
  • Loading branch information
lindt committed Dec 17, 2016
1 parent 6eb3c32 commit af9546e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion detect.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ handle_failure () {
register_traps () {
for sig in "$@"
do
trap "handle_failure"
trap "handle_failure" "$sig"
done
}

Expand Down

0 comments on commit af9546e

Please sign in to comment.