mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
fix .sh typo on kernel module test that accept the module as first argument
This commit is contained in:
@@ -4,7 +4,7 @@ set -e
|
||||
# Setup
|
||||
f=/sys/kernel/debug/lkmc_fops
|
||||
mod="${1:-fops.ko}"
|
||||
[ $# -gt 1] && shift
|
||||
[ $# -gt 1 ] && shift
|
||||
insmod "$mod" "$@"
|
||||
|
||||
# read
|
||||
|
||||
Reference in New Issue
Block a user