disconnect: handle separate non-interactive sessions too

This commit is contained in:
Daniel Micay 2025-10-11 18:04:27 -04:00
parent f2a4df1d0f
commit e84c84db6b

View file

@ -11,6 +11,7 @@ for host in ${hosts_all[@]}; do
echo
ssh root@$host -O exit || true
ssh root@$host -O exit true || true
echo
done