1
0

Fix early exit

This commit is contained in:
2023-05-12 11:15:22 +00:00
parent 4688c6aefd
commit 39d7adc72f

View File

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