Fix missing overwrite argument to setenv().

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2015-09-02 16:05:42 +02:00
1 parent 814ffd9259
commit 0bd57a7826
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -235,7 +235,7 @@ int service_start(svc_t *svc)
/* Set default path for regular users */
if (uid > 0)
setenv("PATH", _PATH_DEFPATH);
setenv("PATH", _PATH_DEFPATH, 1);
}
/* Serve copy of args to process in case it modifies them. */