From 777cf44727b5b4962d471a169fa390c7d0c84709 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 8 Feb 2023 17:32:40 +0100 Subject: [PATCH] Add moar timeout because ffs a simple 'test -e' is getting stuck forever again --- lib/lxc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lxc.sh b/lib/lxc.sh index 5c8c1fb..922931f 100644 --- a/lib/lxc.sh +++ b/lib/lxc.sh @@ -252,5 +252,5 @@ CLEAN_SWAPFILES() { } RUN_INSIDE_LXC() { - lxc exec $LXC_NAME -- "$@" + timeout 300 lxc exec $LXC_NAME -- "$@" }