Skip to content

Commit

Permalink
Update load.sh.tpl
Browse files Browse the repository at this point in the history
  • Loading branch information
thesayyn authored Jul 25, 2024
1 parent d60bb3f commit 092150f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oci/private/load.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 092150f

Please sign in to comment.