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
|
:return: nothing
|
||||||
"""
|
"""
|
||||||
self.run(
|
self.run(
|
||||||
f"[ -e /sys/class/net/{device} ] && {IP_BIN} -6 address flush dev {device} || true",
|
f"[ -e /sys/class/net/{device} ] && {IP_BIN} -6 address flush dev {device} || true"
|
||||||
shell=True,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
def device_mac(self, device, mac):
|
def device_mac(self, device, mac):
|
||||||
|
|
Loading…
Add table
Reference in a new issue