import copy
from decimal import Decimal
-from signal import signal, SIGINT
+from signal import signal, SIGINT, SIG_DFL
cols = {
# HDR: [Size, Scale, Description]
v["l2bytes"] = d["l2_read_bytes"] / sint
-def sighandler():
- sys.exit(0)
-
-
def main():
global sint
global count
if count > 0:
count_flag = 1
- signal(SIGINT, sighandler)
+ signal(SIGINT, SIG_DFL)
while True:
if i == 0:
print_header()