Skip to content

Commit

Permalink
better error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiwan committed Dec 18, 2023
1 parent 664bfc6 commit 9aa1ba8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lkm
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ runcmd "sudo dmesg -C" || true
runcmd "make || exit 1" || true

[[ ! -f "$1".ko ]] && {
echo "[!] ${name}: $1.ko has not been built, aborting..."
echo "[!] ${name}: \"$1.ko\" has not been built, aborting...
(Note though, that this can happen when the module's named differently)."
exit 1
}

Expand Down

0 comments on commit 9aa1ba8

Please sign in to comment.