1
0

Fix early exit

This commit is contained in:
dump_stack() 2023-05-12 11:15:22 +00:00
parent 4688c6aefd
commit 39d7adc72f
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -58,10 +58,8 @@ jobs:
ssh root@$IP systemctl start images-debian --no-block
ssh root@$IP systemctl status images-debian
while [[ $? == 3 ]]; do
sleep 1s
ssh root@$IP systemctl status images-debian
while ssh root@$IP systemctl status images-debian; [[ $ret == 3 ]]; do
sleep 1m
done
scp root@$IP:/var/log/images-debian.log .