From e6ca9482c8f4e88bec220b542942602cb723d454 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Fri, 6 Sep 2019 17:04:04 -0400 Subject: [PATCH] BuildSourceImage: flipped condition! Signed-off-by: Vincent Batts --- BuildSourceImage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BuildSourceImage.sh b/BuildSourceImage.sh index b63a6f8..77efcd0 100755 --- a/BuildSourceImage.sh +++ b/BuildSourceImage.sh @@ -277,7 +277,7 @@ unpack_img() { fi # TODO perhaps if uid == 0 and podman is present then we can try it? - if [ -z "$(command -v umoci)" ] ; then + if [ -n "$(command -v umoci)" ] ; then # can be done as non-root (even in a non-root container) unpack_img_umoci "${image_dir}" "${unpack_dir}" ret=$?