diff --git a/oci/private/load.sh.tpl b/oci/private/load.sh.tpl index 5cfcb7f8..ccd4d6ea 100644 --- a/oci/private/load.sh.tpl +++ b/oci/private/load.sh.tpl @@ -9,7 +9,7 @@ readonly TAR="$(rlocation "{{tar}}")" readonly MTREE="$(rlocation "{{mtree_path}}")" readonly LOADER="$(rlocation "{{loader}}")" -if [ -e "$LOADER" ]; then +if [ -f "$LOADER" ]; then CONTAINER_CLI="$LOADER" elif command -v docker &> /dev/null; then CONTAINER_CLI="docker"