mirror of
https://github.com/troglobit/finit.git
synced 2026-10-03 14:33:12 +07:00
Fix missing overwrite argument to setenv().
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -135,7 +135,7 @@ int main(int argc, char* argv[])
|
||||
set_hostname(&hostname);
|
||||
|
||||
/* Set default PATH, for uid 0 */
|
||||
setenv("PATH", _PATH_STDPATH);
|
||||
setenv("PATH", _PATH_STDPATH, 1);
|
||||
|
||||
/*
|
||||
* Mount filesystems
|
||||
|
||||
Reference in New Issue
Block a user