diff options
-rw-r--r-- | meta/recipes-extended/rpcbind/rpcbind/init.d | 2 |
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 () | |||
47 | echo "Stopping rpcbind daemon..." | 47 | echo "Stopping rpcbind daemon..." |
48 | if ! pidof /sbin/rpcbind >/dev/null; then | 48 | if ! pidof /sbin/rpcbind >/dev/null; then |
49 | echo "not running." | 49 | echo "not running." |
50 | exit 0 | 50 | return 0 |
51 | fi | 51 | fi |
52 | start-stop-daemon --stop --quiet --exec /sbin/rpcbind | 52 | start-stop-daemon --stop --quiet --exec /sbin/rpcbind |
53 | if [ $? -eq 0 ]; then | 53 | if [ $? -eq 0 ]; then |