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.
This commit is contained in:
James Prestwood 2021-08-13 13:26:12 -07:00 committed by Denis Kenzior
parent c03afda96f
commit 790bb44785
1 changed files with 1 additions and 1 deletions

View File

@ -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