summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-09-27 11:32:31 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-09-27 11:32:31 +0900
commit61d7d81aade37286e949d39d1e0e503a628d286c (patch)
tree29d6f0cadeb9288fc89aa9b64ca69e824d402e9e
parent3be6db09f7994f492723ddc0f5b4b25679fefd41 (diff)
only rebuild index on successful build
-rw-r--r--mrk-srv.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mrk-srv.c b/mrk-srv.c
index 70ee5af..d28038f 100644
--- a/mrk-srv.c
+++ b/mrk-srv.c
@@ -723,11 +723,13 @@ _exe_cb_del(void *data, int type, void *event)
723 if (c) 723 if (c)
724 { 724 {
725 if (ev->exit_code == 0) 725 if (ev->exit_code == 0)
726 ecore_ipc_client_send(c->client, 10, M_UP_OK, 0, 0, 0, NULL, 0); 726 {
727 ecore_ipc_client_send(c->client, 10, M_UP_OK, 0, 0, 0, NULL, 0);
728 dbs_update();
729 }
727 else 730 else
728 ecore_ipc_client_send(c->client, 10, M_UP_FAIL, 0, 0, 0, NULL, 0); 731 ecore_ipc_client_send(c->client, 10, M_UP_FAIL, 0, 0, 0, NULL, 0);
729 c->exe = NULL; 732 c->exe = NULL;
730 dbs_update();
731 } 733 }
732 else if (ev->exe == dbexe) 734 else if (ev->exe == dbexe)
733 { 735 {