• Seblu's avatar
    Fix hook doesn't return 0 · 4199c8b5
    Seblu authored
    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
    4199c8b5