projects
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Add preliminary support for pid and network namespaces.
[util-vserver.git]
/
src
/
vspace.c
diff --git
a/src/vspace.c
b/src/vspace.c
index
08f1b28
..
940255f
100644
(file)
--- a/
src/vspace.c
+++ b/
src/vspace.c
@@
-110,6
+110,10
@@
newSpaces(uint_least64_t mask, const char *cmd)
{
pid_t pid;
+ /* optimize default case */
+ if (mask == 0)
+ return;
+
signal(SIGCHLD, SIG_DFL);
#ifdef NDEBUG