only rebuild index on successful build

This commit is contained in:
Carsten Haitzler 2014-09-27 11:32:31 +09:00
parent 3be6db09f7
commit 61d7d81aad
1 changed files with 4 additions and 2 deletions

View File

@ -723,11 +723,13 @@ _exe_cb_del(void *data, int type, void *event)
if (c)
{
if (ev->exit_code == 0)
ecore_ipc_client_send(c->client, 10, M_UP_OK, 0, 0, 0, NULL, 0);
{
ecore_ipc_client_send(c->client, 10, M_UP_OK, 0, 0, 0, NULL, 0);
dbs_update();
}
else
ecore_ipc_client_send(c->client, 10, M_UP_FAIL, 0, 0, 0, NULL, 0);
c->exe = NULL;
dbs_update();
}
else if (ev->exe == dbexe)
{