From 3dd360a27dd8a06be07d25ab817a6d7596b4b0d2 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Sat, 9 Jan 2016 15:01:51 +0100 Subject: [PATCH] Fail if pid is given but there is something wrong with the given pid Signed-off-by: Sebastian Ramacher --- zathura/dbus-interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zathura/dbus-interface.c b/zathura/dbus-interface.c index e2560f6..1a89261 100644 --- a/zathura/dbus-interface.c +++ b/zathura/dbus-interface.c @@ -469,7 +469,7 @@ iterate_instances_call_synctex_view(const char* filename, const bool ret = call_synctex_view(connection, filename, well_known_name, input_file, line, column); g_free(well_known_name); - return ret ? 1 : 0; + return ret ? 1 : -1; } GVariant* vnames = g_dbus_connection_call_sync(