diff options
author | Isaac Huang <[email protected]> | 2014-03-11 17:05:46 -0600 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2014-03-20 11:03:46 -0700 |
commit | 312f82ce65f37ed60f440194623fe38cdb1f601d (patch) | |
tree | 4be699084ddba70eaf2b1a59756011df6ed05fe6 /include | |
parent | d9119bd66df789cbd43d0f6aef4cd43b6baba58c (diff) |
sighandler() should take 2 arguments
Stopping arcstat.py with ^C always ends up with error:
TypeError: sighandler() takes no arguments (2 given)
Since no special signal handling was done in sighandler(),
it's simpler to just set SIGINT handler to SIG_DFL, which
terminates the script.
Signed-off-by: Brian Behlendorf <[email protected]>
Signed-off-by: Isaac Huang <[email protected]>
Closes #2179
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions