mirror of
https://github.com/dynup/kpatch
synced 2025-02-21 12:26:52 +00:00
kpatch-build: update core file error message
Recent distros don't require you to set 'ulimit -c unlimited'. Instead they place core files in a distro-specific location. Update the SIGSEGV error message accordingly. Fixes: #1025 Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
This commit is contained in:
parent
6f5edcd573
commit
e187de3fe4
@ -142,7 +142,7 @@ check_pipe_status() {
|
||||
cp core* /tmp
|
||||
die "core file at /tmp/$(ls core*)"
|
||||
fi
|
||||
die "no core file found, run 'ulimit -c unlimited' and try to recreate"
|
||||
die "There was a SIGSEGV, but no core dump was found in the current directory. Depending on your distro you might find it in /var/lib/systemd/coredump or /var/crash."
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user