projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More missing IPv6 definitions and autoconf checks to make sure it compiles
[tinc]
/
src
/
process.c
diff --git
a/src/process.c
b/src/process.c
index
45acc5c
..
46d6067
100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-17,7
+17,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: process.c,v 1.1.2.5
2 2003/07/06 23:16:28
guus Exp $
+ $Id: process.c,v 1.1.2.5
3 2003/07/11 16:13:00
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-287,11
+287,14
@@
int execute_script(const char *name, char **envp)
name);
return -1;
}
name);
return -1;
}
- } else {
+ } else
if (errno != EINTR)
{
logger(DEBUG_ALWAYS, LOG_ERR, _("System call `%s' failed: %s"), "waitpid",
strerror(errno));
return -1;
}
logger(DEBUG_ALWAYS, LOG_ERR, _("System call `%s' failed: %s"), "waitpid",
strerror(errno));
return -1;
}
+
+ /* Why do we get EINTR? */
+ return 0;
}
/* Child here */
}
/* Child here */