scripts/savecore: Amend the hint on core_pattern, drop stray ';'

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2017-09-03 10:41:05 +02:00
parent 30382d9d03
commit f0dbddd590

View file

@ -18,7 +18,9 @@
# How your system names core files # How your system names core files
# #
# This is a pattern rather than a name, because modern kernels can put # 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=core.*
#core_pattern=emp_server.core #core_pattern=emp_server.core
#core_pattern=core #core_pattern=core
@ -45,7 +47,7 @@ core_name=
alert_deity () alert_deity ()
{ {
local msg; local msg
if [ "$saved" ] if [ "$saved" ]
then msg="Core dump $saved_core saved." then msg="Core dump $saved_core saved."
elif [ "$core_name" ] elif [ "$core_name" ]