kdump-load/save-dumps: Fix some return code on errors
We have been way too conservative to prevent boot flaws, returning always success even on failures. This is changed now. Signed-off-by: Guilherme G. Piccoli <gpiccoli@igalia.com>
This commit is contained in:
@ -30,7 +30,7 @@ rm -f "${KDUMP_MNT}"
|
||||
|
||||
if [ ! -d "${KDUMP_MAIN_FOLDER}" ]; then
|
||||
logger "kdump: invalid folder (${KDUMP_MAIN_FOLDER}) - aborting..."
|
||||
exit 0
|
||||
exit 1
|
||||
fi
|
||||
|
||||
LOGS_FOUND=0
|
||||
|
||||
Reference in New Issue
Block a user