From e07edad5f45907e9c7f4d6c24823b80cbe282316 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 29 Jun 2021 13:29:23 +0200 Subject: Adding upstream version 20210628. Signed-off-by: Daniel Baumann --- libexec/container/start | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libexec/container/start') diff --git a/libexec/container/start b/libexec/container/start index 089aa7d..08c3611 100755 --- a/libexec/container/start +++ b/libexec/container/start @@ -131,6 +131,12 @@ then exit 1 fi +# options +if grep -Eqs "^ *cnt.start=" "${CONFIG}/${NAME}.conf" | grep -qs force +then + FORCE="true" +fi + case "${START}" in false) STATE="$(machinectl show ${NAME} 2>&1 | awk -FState= '/^State=/ { print $2 }')" -- cgit v1.2.3