From f0dbddd590ed7a72cc5123f16c9a924f572834e6 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 3 Sep 2017 10:41:05 +0200 Subject: [PATCH] scripts/savecore: Amend the hint on core_pattern, drop stray ';' Signed-off-by: Markus Armbruster --- scripts/savecore | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/savecore b/scripts/savecore index 6594d9086..29142e98e 100755 --- a/scripts/savecore +++ b/scripts/savecore @@ -18,7 +18,9 @@ # How your system names core files # # This is a pattern rather than a name, because modern kernels can put -# fancy stuff in the name we can't always predict. +# fancy stuff in the name we can't always predict. Modern user space +# can squirrel away core dumps in fancy places; you may need to switch +# that off for this insufficiently fancy script to work. core_pattern=core.* #core_pattern=emp_server.core #core_pattern=core @@ -45,7 +47,7 @@ core_name= alert_deity () { - local msg; + local msg if [ "$saved" ] then msg="Core dump $saved_core saved." elif [ "$core_name" ] -- 2.43.0