From e187de3fe46ff0a251ee44b87294f29b68002315 Mon Sep 17 00:00:00 2001 From: Josh Poimboeuf Date: Tue, 20 Aug 2019 16:18:59 -0500 Subject: [PATCH] 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 --- kpatch-build/kpatch-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kpatch-build/kpatch-build b/kpatch-build/kpatch-build index 69c1301..02aa4ec 100755 --- a/kpatch-build/kpatch-build +++ b/kpatch-build/kpatch-build @@ -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 }