Skip to content

Commit

Permalink
ignore non-zero exist codes of modprobe dm-mod
Browse files Browse the repository at this point in the history
to work around an issue by github actions
  • Loading branch information
adrelanos committed Nov 18, 2023
1 parent e957fa8 commit df8df97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grml-debootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -1460,7 +1460,7 @@ prepare_vm() {

# if dm-mod isn't available then kpartx will fail with
# "Is device-mapper driver missing from kernel? [...]"
modprobe dm-mod
modprobe dm-mod || true
if ! grep -q 'device-mapper' /proc/misc >/dev/null 2>&1 ; then
eerror "Device-mapper support missing in kernel."
bailout 1
Expand Down

0 comments on commit df8df97

Please sign in to comment.