Make exit on SIGINT more user-friendly
Review Request #4788 — Created Oct. 17, 2013 and submitted — Latest diff uploaded
Add SIGINT signal handlers for post-review/rbt to exit in a more user-friendly manner
Sponsored-by: Zonar Systems, Inc
Signed-off-by: Garrett Cooper yanegomi@gmail.com
garrett.cooper@ZL00757 ~/git/rbtools
$ rbt post --diff-filename 0001-Push-the-username-password-is-None-logic-down-into-t.patch --username yaneurabeya
==> HTTP Authentication Required
Enter authorization information for "Web API" at reviews.reviewboard.org
Password:
garrett.cooper@ZL00757 ~/git/rbtools
$ echo $?
130garrett.cooper@ZL00757 ~/git/rbtools
$ post-review --diff-filename 0001-Push-the-username-password-is-None-logic-down-into-t.patch --username yaneurabeya
==> HTTP Authentication Required
Enter authorization information for "Web API" at reviews.reviewboard.org
Password:
garrett.cooper@ZL00757 ~/git/rbtools
$ echo $?
130