diff --git a/kdumpctl b/kdumpctl index 4261bef4..47bf6687 100755 --- a/kdumpctl +++ b/kdumpctl @@ -1873,8 +1873,9 @@ reset_crashkernel() _new_ck=$(kdump_get_arch_recommend_crashkernel kdump) if _update_kernel_cmdline "" crashkernel "$_old_ck" "$_new_ck"; then [[ $_reboot == yes ]] && systemctl reboot + return 0 fi - return + return 1 fi # If kernel-path not specified, either