5f1282 92-crashkernel.install: fix exit code

Authored and Committed by liutgnu 3 years ago
    92-crashkernel.install: fix exit code
    
    upstream: fedora
    resolves: bz2003832
    conflict: none
    
    commit f6e6aa45518aab0bfbbe8fa4fc94eb3f33036aa1
    Author: Kairui Song <kasong@redhat.com>
    Date:   Wed Sep 1 17:38:50 2021 +0800
    
        92-crashkernel.install: fix exit code
    
        The return value of set_ck_kernel or set_grub_ck is wrongly being used
        as the exit code. This hook should exit with 0 or it may result in
        unexpected behavior of kernel-install.
    
        Signed-off-by: Kairui Song <kasong@redhat.com>
        Acked-by: Pingfan Liu <piliu@redhat.com>
    
    Signed-off-by: Tao Liu <ltao@redhat.com>
    
        
file modified
+4 -1