]> git.pond.sub.org Git - empserver/commitdiff
scripts/savecore: Amend the hint on core_pattern, drop stray ';'
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 3 Sep 2017 08:41:05 +0000 (10:41 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 3 Sep 2017 08:41:05 +0000 (10:41 +0200)
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
scripts/savecore

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