From 251870158b34972626130b0f20c53b4ee321849a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 29 Jun 2021 13:39:09 +0200 Subject: Merging 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