Starting wmfs with an alternate wmfs was possible with wmfs -C

otherWmfsrc but only $HOME/.config/wmfsrc was read when reloading wmfs.
Now, if you start wmfs with -C and a different file, this file will be
reloaded.
This commit is contained in:
Raphael Khaiat 2010-11-16 01:09:35 +01:00
parent b7ded56ef9
commit 2d9baf78c5

View File

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