From d9119bd66df789cbd43d0f6aef4cd43b6baba58c Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Thu, 20 Mar 2014 11:02:26 -0700 Subject: [PATCH] Revert "sighandler() should take 2 arguments" This reverts commit 0bb89b6c594259829556f6dea5a89e722f214fd3 in favor of a cleaner implementation. Signed-off-by: Brian Behlendorf Issue #2182 --- cmd/arcstat/arcstat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/arcstat/arcstat.py b/cmd/arcstat/arcstat.py index 41bf61b73b24..5a0912853852 100755 --- a/cmd/arcstat/arcstat.py +++ b/cmd/arcstat/arcstat.py @@ -413,7 +413,7 @@ def calculate(): v["l2bytes"] = d["l2_read_bytes"] / sint -def sighandler(foo, bar): +def sighandler(): sys.exit(0)