Let wmfs reload now with the same argument that it was launched with

This commit is contained in:
Raphael Khaiat 2011-01-08 18:20:27 +01:00
parent 18e97d3e1e
commit 2273ccc5d5

View File

@ -288,7 +288,7 @@ uicb_reload(uicb_t cmd)
for(; argv_global[0] && argv_global[0] == ' '; ++argv_global); for(; argv_global[0] && argv_global[0] == ' '; ++argv_global);
/* add -C to always load the same config file */ /* add -C to always load the same config file */
execlp(argv_global, argv_global, "-C", conf.confpath, NULL); execvp(argv_global, all_argv);
return; return;
} }