aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mds-server.c')
-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