projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Woops!
[tinc]
/
src
/
process.c
diff --git
a/src/process.c
b/src/process.c
index
36b2146
..
44ecf30
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.
58 2003/07/28 22:06:0
9 guus Exp $
+ $Id: process.c,v 1.1.2.
60 2003/07/31 14:24:1
9 guus Exp $
*/
#include "system.h"
*/
#include "system.h"
@@
-206,7
+206,7
@@
bool detach(void)
Execute the program name, with sane environment.
*/
static void _execute_script(const char *scriptname, char **envp)
Execute the program name, with sane environment.
*/
static void _execute_script(const char *scriptname, char **envp)
- __attribute__ ((
noreturn
));
+ __attribute__ ((
__noreturn__
));
static void _execute_script(const char *scriptname, char **envp)
{
int save_errno;
static void _execute_script(const char *scriptname, char **envp)
{
int save_errno;
@@
-223,7
+223,7
@@
static void _execute_script(const char *scriptname, char **envp)
/* Close all file descriptors */
fcloseall();
/* Close all file descriptors */
fcloseall();
- execl(scriptname, NULL);
+ execl(scriptname,
scriptname,
NULL);
/* No return on success */
save_errno = errno;
/* No return on success */
save_errno = errno;