Close openbox.log when restarting

This commit is contained in:
Mikael Magnusson 2009-02-19 22:19:27 +01:00
parent 6d0c4d7fad
commit d69530a45a

View file

@ -417,6 +417,7 @@ gint main(gint argc, gchar **argv)
obt_display_close();
if (restart) {
ob_debug_shutdown();
if (restart_path != NULL) {
gint argcp;
gchar **argvp;
@ -470,7 +471,8 @@ gint main(gint argc, gchar **argv)
g_free(ob_sm_id);
g_free(program_name);
ob_debug_shutdown();
if (!restart)
ob_debug_shutdown();
return exitcode;
}