Skip to content
Snippets Groups Projects
Commit 4199c8b5 authored by Seblu's avatar Seblu
Browse files

Fix hook doesn't return 0

This cause error in pacman:
(1/2) Remove DKMS modules
==> dkms remove vboxsf/6.0.0_OSE -k 4.20.0-seblu
(2/2) kernel-install remove
+ ((  EUID  ))
+ ((  1 != 1  ))
+ read -r path
+ kpath=/usr/lib/kernel/vmlinuz-4.20.0-seblu
+ kver=4.20.0-seblu
+ [[ -z 4.20.0-seblu ]]
+ case "$1" in
+ kernel-install remove 4.20.0-seblu
+ read -r path
error: command failed to execute correctly
parent 4e4ef01b
No related branches found
No related tags found
No related merge requests found
......@@ -48,3 +48,5 @@ while read -r path; do
usage ;;
esac
done
exit 0
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