diff options
| author | Mikael Magnusson <mikachu@gmail.com> | 2009-02-19 22:19:27 +0100 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@gmail.com> | 2009-02-20 17:45:07 +0100 |
| commit | d69530a45a42efab0d34dcdb35b0f6fc887dafac (patch) | |
| tree | 99a8f290bf668e8e10b395d53bd67abfda5c5b02 /openbox/openbox.c | |
| parent | 6d0c4d7fadd2d67760ef62e11385fd261ba6a3c4 (diff) | |
Close openbox.log when restarting
Diffstat (limited to 'openbox/openbox.c')
| -rw-r--r-- | openbox/openbox.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c index 5be4e785..e71465a6 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -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; } |
