diff --git a/dkms.conf b/dkms.conf index 3a11b0b..9cf64e1 100644 --- a/dkms.conf +++ b/dkms.conf @@ -1,5 +1,5 @@ PACKAGE_NAME="vendor-reset" -PACKAGE_VERSION="0.0.5" +PACKAGE_VERSION="0.0.6" BUILT_MODULE_NAME[0]="${PACKAGE_NAME}" MAKE[0]="make KDIR=${kernel_source_dir}" CLEAN="make KDIR=${kernel_source_dir} clean" diff --git a/src/vendor-reset.c b/src/vendor-reset.c index 9dd2618..50c85a7 100644 --- a/src/vendor-reset.c +++ b/src/vendor-reset.c @@ -160,10 +160,13 @@ static int __init vendor_reset_init(void) if (install_hook) { ret = fh_install_hooks(fh_hooks); + if (ret) + return ret; + vr_info("Hooks installed successfully\n"); } - return ret; + return 0; } static void __exit vendor_reset_exit(void)