diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2020-10-30 04:13:05 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2020-10-30 04:13:05 +0000 |
commit | d1c2a7be1249a4fe1e411a8140ce646f97906859 (patch) | |
tree | 1911ababde72f2b89a8fb559d3c1def046525926 /lib/container/remove | |
parent | Adding upstream version 20200830. (diff) | |
download | open-infrastructure-compute-tools-d1c2a7be1249a4fe1e411a8140ce646f97906859.tar.xz open-infrastructure-compute-tools-d1c2a7be1249a4fe1e411a8140ce646f97906859.zip |
Adding upstream version 20201030.upstream/20201030
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lib/container/remove')
-rwxr-xr-x | lib/container/remove | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/container/remove b/lib/container/remove index 208de3d..820e45e 100755 --- a/lib/container/remove +++ b/lib/container/remove @@ -145,7 +145,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) @@ -207,7 +207,7 @@ done if [ -e "${CONFIG}/${NAME}.conf" ] then # Removing rw bind mounts - BIND="$(awk -F= '/^bind=/ { print $2 }' ${CONFIG}/${NAME}.conf)" + BIND="$(awk -Fbind= '/^bind=/ { print $2 }' ${CONFIG}/${NAME}.conf)" if [ -n "${BIND}" ] then @@ -222,7 +222,7 @@ then fi # Removing ro bind mounts - BIND_RO="$(awk -F= '/^bind-ro=/ { print $2 }' ${CONFIG}/${NAME}.conf)" + BIND_RO="$(awk -Fbind-ro= '/^bind-ro=/ { print $2 }' ${CONFIG}/${NAME}.conf)" if [ -n "${BIND_RO}" ] then |