client: Fix stay on error handling in non-interactive 52/204952/1
authorERAMOTO Masaya <eramoto.masaya@jp.fujitsu.com>
Mon, 19 Mar 2018 08:40:48 +0000 (17:40 +0900)
committerAmit Purwar <amit.purwar@samsung.com>
Fri, 26 Apr 2019 10:53:23 +0000 (16:23 +0530)
commit713ad204c048514fe8913e7c7e5fd7d50d2ca9af
treefec6e18a7bb35ea89159d5ed8706636154456280
parentabe018f6375b71a2a273a4c05bc4b0df7c11f2bc
client: Fix stay on error handling in non-interactive

Returns the FAILURE status since there is no meaning of stay in
non-interactive mode when executing some commands with an invalid
argument or with no controller. Also returns with the SUCCESS status
when getting a scan filtering value or disconnecting a non-default
device.

Change-Id: Iac437afcd04648ba9bb4580201c70e1e8396a329
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
client/advertising.c
client/main.c