summaryrefslogtreecommitdiff
path: root/sysutils/py-superlance/files/patch-superlance_httpok.py
blob: e5390ea7fd09c675fd5cd949f3a70249d2878794 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
GDB installs gcore(1) shell script on Linux:

gcore(1):
    -o filename
       write core file to filename instead of core.pid

gcore(1) is disabled in the devel/gdb port, and FreeBSD's
gcore(1) provides a different command line option

gcore(1):
    -c      Write the core file to the specified file instead of
            "core.<pid>".

--- superlance/httpok.py.orig	2017-10-25 04:36:10 UTC
+++ superlance/httpok.py
@@ -351,7 +351,7 @@ def main(argv=sys.argv):
     programs = []
     any = False
     sendmail = '/usr/sbin/sendmail -t -i'
-    gcore = '/usr/bin/gcore -o'
+    gcore = '/usr/bin/gcore -c'
     coredir = None
     eager = True
     email = None