Skip to content
Snippets Groups Projects
Commit 4b29cf65 authored by Ezekiel Dohmen's avatar Ezekiel Dohmen
Browse files

Printing errors when module fails to be inserted.

parent 12f7fc0b
No related branches found
Tags 1.0.19
No related merge requests found
......@@ -82,8 +82,15 @@ fi
# Clear dmesg output
sudo dmesg -c > /dev/null
set +e
echo "Inserting benchmark module..."
sudo insmod $MOD_PATH $KERN_ARGS
if (( $? != 0 )); then
sudo dmesg -t
exit 1
fi
set -e
echo "Done inserting module..."
echo ""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment