From f381bb9a671097e6fe3a686b583b2e79043c6789 Mon Sep 17 00:00:00 2001 From: Alexey Avramov Date: Tue, 18 Feb 2020 23:31:55 +0900 Subject: [PATCH] fix nothing --- nohang/nohang | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nohang/nohang b/nohang/nohang index 88330b9..83a7065 100755 --- a/nohang/nohang +++ b/nohang/nohang @@ -3738,8 +3738,8 @@ while True: ) ) - if (masf_threshold is SIGKILL or zram_threshold is SIGKILL or - psi_threshold is SIGKILL): + if (masf_threshold == SIGKILL or zram_threshold == SIGKILL or + psi_threshold == SIGKILL): threshold = SIGKILL mem_info_list = [] @@ -3762,8 +3762,8 @@ while True: x0, psi_threshold, zram_threshold, zram_info, psi_info) continue - if (masf_threshold is SIGTERM or zram_threshold is SIGTERM or - psi_threshold is SIGTERM): + if (masf_threshold == SIGTERM or zram_threshold == SIGTERM or + psi_threshold == SIGTERM): threshold = SIGTERM mem_info_list = []