BuildSourceImage: flipped condition!
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
9f68658629
commit
e6ca9482c8
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ unpack_img() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# TODO perhaps if uid == 0 and podman is present then we can try it?
|
# 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)
|
# can be done as non-root (even in a non-root container)
|
||||||
unpack_img_umoci "${image_dir}" "${unpack_dir}"
|
unpack_img_umoci "${image_dir}" "${unpack_dir}"
|
||||||
ret=$?
|
ret=$?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue