summaryrefslogtreecommitdiffstats
path: root/lib/container/console
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2020-10-30 04:13:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2020-10-30 04:13:09 +0000
commit95981ad90a2c53a07e146ad68bf4c15ab448aa09 (patch)
treebd2d683d160728a67a191fe3b87c8acda10587a1 /lib/container/console
parentReleasing debian version 20200830-1. (diff)
downloadopen-infrastructure-compute-tools-95981ad90a2c53a07e146ad68bf4c15ab448aa09.tar.xz
open-infrastructure-compute-tools-95981ad90a2c53a07e146ad68bf4c15ab448aa09.zip
Merging upstream version 20201030.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lib/container/console')
-rwxr-xr-xlib/container/console2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/container/console b/lib/container/console
index 0628a9d..2a41bf5 100755
--- a/lib/container/console
+++ b/lib/container/console
@@ -81,7 +81,7 @@ then
exit 1
fi
-STATE="$(machinectl show ${NAME} 2>&1 | awk -F= '/^State=/ { print $2 }')"
+STATE="$(machinectl show ${NAME} 2>&1 | awk -FState= '/^State=/ { print $2 }')"
case "${STATE}" in
running)