[vlc-commits] Fix return value after items hand-over via MPRIS (fixes 15947)

Rémi Denis-Courmont git at videolan.org
Sun Nov 22 21:31:35 CET 2015


vlc/vlc-2.2 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Nov 21 20:46:38 2015 +0200| [cbe7a3901f3140633f071f1b8f70093026e1fc99] | committer: Jean-Baptiste Kempf

Fix return value after items hand-over via MPRIS (fixes 15947)

(cherry picked from commit e1aaa1e07b97f17603a4873d7ca4829b25f84239)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=cbe7a3901f3140633f071f1b8f70093026e1fc99
---

 src/libvlc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libvlc.c b/src/libvlc.c
index 946ce2e..da59641 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -337,7 +337,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
         }
         /* we unreference the connection when we've finished with it */
         dbus_connection_unref( conn );
-        exit( 1 );
+        exit( 0 );
     }
 #undef MPRIS_APPEND
 #undef MPRIS_BUS_NAME



More information about the vlc-commits mailing list