DPM: fix bug. wrong dbus return value. 14/166814/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:30:09 +0000 (13:30 +0900)
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I9e9f505976560457aeb3ee799394e51e8abde86e

src/block/block.c

index 658cf8f..3df0de5 100644 (file)
@@ -3478,6 +3478,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);