3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-04 18:38:48 +02:00

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

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