UPSTREAM: ns: Go dormant when exsting name server is found

With the introduction of the in-kernel nameserver launching the user
space qrtr-ns will fail, but typically other services depends on its
presence. As such, go dormant instead of failing when noticed that the
name service is already present.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
(cherry picked from commit 7bd5cf302437755b0d741c9dc1805395a9654597)

BUG=b:168074485
TEST=Pick in-kernel qrtr-ns and it works

Change-Id: I4fa6a0b40078348941d6a448520b659d7d214466
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/libqrtr/+/2422281
Reviewed-by: Evan Green <evgreen@chromium.org>
Reviewed-by: Madhav . <madhavadas@google.com>
Reviewed-by: Abhishek Kumar <kuabhs@chromium.org>
Tested-by: Abhishek Kumar <kuabhs@chromium.org>
1 file changed