summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/rpcbind/rpcbind/init.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/rpcbind/rpcbind/init.d b/meta/recipes-extended/rpcbind/rpcbind/init.d
index 5c756bb523..d418673aa0 100644
--- a/meta/recipes-extended/rpcbind/rpcbind/init.d
+++ b/meta/recipes-extended/rpcbind/rpcbind/init.d
@@ -47,7 +47,7 @@ stop ()
echo "Stopping rpcbind daemon..."
if ! pidof /sbin/rpcbind >/dev/null; then
echo "not running."
- exit 0
+ return 0
fi
start-stop-daemon --stop --quiet --exec /sbin/rpcbind
if [ $? -eq 0 ]; then