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-11-28 09:59:58 +01:00
committed by hardy
parent 37cc53cffc
commit e46737e7e7
+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