Skip to content

Commit e27037f

Browse files
committed
local_cmd: log command to be run, like ssh does
Signed-off-by: Yann Dirson <[email protected]>
1 parent 2e13029 commit e27037f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/commands.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ def sftp(hostname_or_ip, cmds, check=True, suppress_fingerprint_warnings=True):
205205

206206
def local_cmd(cmd, check=True, decode=True):
207207
""" Run a command locally on tester end. """
208+
logging.debug("[local] %s", (cmd,))
208209
res = subprocess.run(
209210
cmd,
210211
stdout=subprocess.PIPE,

0 commit comments

Comments
 (0)