You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When stopping arcstat.py with ^C:
Traceback (most recent call last):
File "./cmd/arcstat/arcstat.py", line 439, in
main()
File "./cmd/arcstat/arcstat.py", line 432, in main
time.sleep(sint)
TypeError: sighandler() takes no arguments (2 given)
The text was updated successfully, but these errors were encountered:
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 <behlendorf1@llnl.gov>
Signed-off-by: Isaac Huang <he.huang@intel.com>
Closesopenzfs#2179
When stopping arcstat.py with ^C:
Traceback (most recent call last):
File "./cmd/arcstat/arcstat.py", line 439, in
main()
File "./cmd/arcstat/arcstat.py", line 432, in main
time.sleep(sint)
TypeError: sighandler() takes no arguments (2 given)
The text was updated successfully, but these errors were encountered: