tools: hv: fix KVP and VSS daemons exit code
authorAdrian Vladu <avladu@cloudbasesolutions.com>
Mon, 6 May 2019 16:50:58 +0000 (16:50 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Sep 2019 08:19:43 +0000 (10:19 +0200)
commit47a2cf61fe090bdf3ac659b64ed58f7fadd39f04
treeae76a852f9b549d8099500969db0693efb8fe5b6
parent25b0bb7eeef867551bbaf933b0f6f546356ce4d9
tools: hv: fix KVP and VSS daemons exit code

[ Upstream commit b0995156071b0ff29a5902964a9dc8cfad6f81c0 ]

HyperV KVP and VSS daemons should exit with 0 when the '--help'
or '-h' flags are used.

Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>
Cc: "K. Y. Srinivasan" <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Stephen Hemminger <sthemmin@microsoft.com>
Cc: Sasha Levin <sashal@kernel.org>
Cc: Alessandro Pilotti <apilotti@cloudbasesolutions.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/hv/hv_kvp_daemon.c
tools/hv/hv_vss_daemon.c