mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-01-26 09:54:22 +03:00
sighandler() should take 2 arguments
Stopping arcstat.py with ^C always ends up with error: TypeError: sighandler() takes no arguments (2 given) This patch corrects the error by updating the signal handler to take the correct number of arguments. Signed-off-by: Isaac Huang <he.huang@intel.com> Signed-off-by: Prakash Surya <surya1@llnl.gov> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #2182
This commit is contained in:
parent
4e1c9f9c48
commit
0bb89b6c59
@ -413,7 +413,7 @@ def calculate():
|
||||
v["l2bytes"] = d["l2_read_bytes"] / sint
|
||||
|
||||
|
||||
def sighandler():
|
||||
def sighandler(foo, bar):
|
||||
sys.exit(0)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user