Skip to content

Commit

Permalink
add termination message to sigint
Browse files Browse the repository at this point in the history
  • Loading branch information
xorond committed Oct 1, 2016
1 parent 36b9972 commit 547de6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion passtrust
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,6 @@ def main
end

if __FILE__ == $0
trap "SIGINT" do; exit 130; end
trap "SIGINT" do; puts "\r\nTerminated by user."; exit 130; end
main
end

0 comments on commit 547de6d

Please sign in to comment.