New patch to avoid tons of cores to be created in case of bad failures
This time bump portrevision
This commit is contained in:
parent
8f60c3a0a1
commit
ceb24859ae
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351353
2 changed files with 16 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
PORTNAME= pkg
|
PORTNAME= pkg
|
||||||
DISTVERSION= 1.3.0.a8
|
DISTVERSION= 1.3.0.a8
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= ports-mgmt
|
CATEGORIES= ports-mgmt
|
||||||
MASTER_SITES= \
|
MASTER_SITES= \
|
||||||
http://files.etoilebsd.net/pkg/ \
|
http://files.etoilebsd.net/pkg/ \
|
||||||
|
|
15
ports-mgmt/pkg-devel/files/patch-signal
Normal file
15
ports-mgmt/pkg-devel/files/patch-signal
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
diff --git src/main.c src/main.c
|
||||||
|
index b5c5320..2398687 100644
|
||||||
|
--- src/main.c
|
||||||
|
+++ src/main.c
|
||||||
|
@@ -444,6 +444,10 @@ start_process_worker(void)
|
||||||
|
|
||||||
|
if (WIFEXITED(status) && ret != EX_NEEDRESTART)
|
||||||
|
break;
|
||||||
|
+ if (WIFSIGNALED(status)) {
|
||||||
|
+ /* Process got some terminating signal, hence stop the loop */
|
||||||
|
+ break;
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue