DPM: fix bug. wrong dbus return value. 15/166815/1
authorINSUN PYO <insun.pyo@samsung.com>
Fri, 12 Jan 2018 04:29:21 +0000 (13:29 +0900)
committerINSUN PYO <insun.pyo@samsung.com>
Fri, 12 Jan 2018 04:31:04 +0000 (04:31 +0000)
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I9e9f505976560457aeb3ee799394e51e8abde86e

src/block/block.c

index 0d654c918c3a3d1abc154d3bb2d569d05d2f6d7f..bef93adebf7d7777ae5b5684adfd73ae05da2a0f 100644 (file)
@@ -3556,6 +3556,7 @@ static DBusMessage *request_control_block(dbus_method_reply_handle_h reply_handl
                goto out;
        }
 
+       ret = 0;
        if (enable == 1) {
                _I("control block Enable");
                block_start(NULL);