fix(ci): CI runs won't leave commands in CI servers' history

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
Raphael Defosseux
2021-12-01 12:48:23 +01:00
committed by hardy
parent 498be51358
commit 714ae2bd9a
+1 -1
View File
@@ -100,7 +100,7 @@ class SSHConnection():
time.sleep(1)
count += 1
if connect_status:
pass
self.command('unset HISTFILE', '\$', 5, silent=True)
else:
sys.exit('SSH Connection Failed')
self.ipaddress = ipaddress