aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-06 15:10:57 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-06 15:10:57 +0200
commit795526ceb058c597281a749e6e45321464dc68de (patch)
tree560982531490576a1f20b5d301feedeeff9ce9c1 /src
parentuse macros in mds.c (diff)
downloadmds-795526ceb058c597281a749e6e45321464dc68de.tar.gz
mds-795526ceb058c597281a749e6e45321464dc68de.tar.bz2
mds-795526ceb058c597281a749e6e45321464dc68de.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r--src/mds-server.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mds-server.c b/src/mds-server.c
index 3f9e529..9f7d16b 100644
--- a/src/mds-server.c
+++ b/src/mds-server.c
@@ -692,8 +692,7 @@ void run_initrc(char** args)
}
/* Test /etc. */
- xsnprintf(pathname, "%s/%s", SYSCONFDIR, INITRC_FILE);
- execv(args[0], args);
+ __exec("%s/%s", SYSCONFDIR, INITRC_FILE);
#undef __exec