Kill status script in quit()
This commit is contained in:
parent
52dba6418e
commit
0e8ffff152
@ -128,6 +128,10 @@ quit(void)
|
||||
XSync(dpy, False);
|
||||
XCloseDisplay(dpy);
|
||||
|
||||
/* kill status script */
|
||||
if (conf.status_pid != (pid_t)-1)
|
||||
kill(conf.status_pid, SIGQUIT);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@ -271,9 +275,6 @@ uicb_reload(uicb_t cmd)
|
||||
{
|
||||
quit();
|
||||
|
||||
if (conf.status_pid != (pid_t)-1)
|
||||
kill(conf.status_pid, SIGQUIT);
|
||||
|
||||
for(; argv_global[0] && argv_global[0] == ' '; ++argv_global);
|
||||
|
||||
execlp(argv_global, argv_global, NULL);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user