Close openbox.log when restarting
This commit is contained in:
parent
6d0c4d7fad
commit
d69530a45a
1 changed files with 3 additions and 1 deletions
|
@ -417,6 +417,7 @@ gint main(gint argc, gchar **argv)
|
||||||
obt_display_close();
|
obt_display_close();
|
||||||
|
|
||||||
if (restart) {
|
if (restart) {
|
||||||
|
ob_debug_shutdown();
|
||||||
if (restart_path != NULL) {
|
if (restart_path != NULL) {
|
||||||
gint argcp;
|
gint argcp;
|
||||||
gchar **argvp;
|
gchar **argvp;
|
||||||
|
@ -470,6 +471,7 @@ gint main(gint argc, gchar **argv)
|
||||||
g_free(ob_sm_id);
|
g_free(ob_sm_id);
|
||||||
g_free(program_name);
|
g_free(program_name);
|
||||||
|
|
||||||
|
if (!restart)
|
||||||
ob_debug_shutdown();
|
ob_debug_shutdown();
|
||||||
|
|
||||||
return exitcode;
|
return exitcode;
|
||||||
|
|
Loading…
Reference in a new issue