remove shell=True from run command
This commit is contained in:
parent
ddcce82af4
commit
2d9cf81d0b
1 changed files with 1 additions and 2 deletions
|
@ -127,8 +127,7 @@ class LinuxNetClient:
|
|||
:return: nothing
|
||||
"""
|
||||
self.run(
|
||||
f"[ -e /sys/class/net/{device} ] && {IP_BIN} -6 address flush dev {device} || true",
|
||||
shell=True,
|
||||
f"[ -e /sys/class/net/{device} ] && {IP_BIN} -6 address flush dev {device} || true"
|
||||
)
|
||||
|
||||
def device_mac(self, device, mac):
|
||||
|
|
Loading…
Add table
Reference in a new issue