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
|
||||
|
||||
# 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=$?
|
||||
|
|
Loading…
Reference in a new issue