don't re-run the startup command on reconfigure

This commit is contained in:
Dana Jansens 2011-03-30 11:23:11 -04:00
parent 6624d06dd1
commit 823997f001

View file

@ -355,11 +355,11 @@ gint main(gint argc, gchar **argv)
}
}
reconfigure = FALSE;
ob_set_state(OB_STATE_RUNNING);
if (startup_cmd) run_startup_cmd();
if (!reconfigure && startup_cmd) run_startup_cmd();
reconfigure = FALSE;
/* look for parsing errors */
{