better error msg

This commit is contained in:
Kaiwan N Billimoria
2023-12-18 07:38:38 +05:30
parent 664bfc6cc2
commit 9aa1ba891a

3
lkm
View File

@@ -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
}