From 790bb44785b4d2fb20d19501f0d0a3cb43a8deb4 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Fri, 13 Aug 2021 13:26:12 -0700 Subject: [PATCH] test-runner: don't always print failure to remove ctrl interface This can happen, particularly with SAQuery when hostapd is forcefully killed. Better to only print when running in debug mode. --- tools/test-runner | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test-runner b/tools/test-runner index 5b8bdaf5..7e89d71c 100755 --- a/tools/test-runner +++ b/tools/test-runner @@ -541,7 +541,7 @@ class Hostapd: try: os.remove(self.global_ctrl_iface) except: - dbg("Failed to remove %s" % self.global_ctrl_iface) + print("Failed to remove %s" % self.global_ctrl_iface) self.instances = None