mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Moar damn commands getting stuck forever for no reason...
This commit is contained in:
parent
865bb6223b
commit
caafd56fed
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ _LXC_START_AND_WAIT() {
|
||||||
# Wait for container to start, we are using systemd to check this,
|
# Wait for container to start, we are using systemd to check this,
|
||||||
# for the sake of brevity.
|
# for the sake of brevity.
|
||||||
for j in $(seq 1 10); do
|
for j in $(seq 1 10); do
|
||||||
if lxc exec "$1" -- systemctl isolate multi-user.target >/dev/null 2>/dev/null; then
|
if lxc exec "$1" -- timeout 30 systemctl isolate multi-user.target >/dev/null 2>/dev/null; then
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue