New patch to avoid tons of cores to be created in case of bad failures

This time bump portrevision
This commit is contained in:
Baptiste Daroussin 2014-04-15 17:24:28 +00:00
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

View file

@ -2,6 +2,7 @@
PORTNAME= pkg
DISTVERSION= 1.3.0.a8
PORTREVISION= 1
CATEGORIES= ports-mgmt
MASTER_SITES= \
http://files.etoilebsd.net/pkg/ \

View 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;
+ }
}
}