65878a
From 72002c70f780a73efc8357fe0249228e6d0a6924 Mon Sep 17 00:00:00 2001
65878a
From: Michal Sekletar <msekleta@redhat.com>
65878a
Date: Wed, 6 Nov 2013 11:18:02 +0100
65878a
Subject: [PATCH] systemctl: return r instead of always returning 0
65878a
65878a
---
65878a
 src/systemctl/systemctl.c | 2 +-
65878a
 1 file changed, 1 insertion(+), 1 deletion(-)
65878a
65878a
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
65878a
index 36040db..1d68b38 100644
65878a
--- a/src/systemctl/systemctl.c
65878a
+++ b/src/systemctl/systemctl.c
65878a
@@ -1362,7 +1362,7 @@ static int list_jobs(DBusConnection *bus, char **args) {
65878a
         }
65878a
         free(jobs);
65878a
 
65878a
-        return 0;
65878a
+        return r;
65878a
 }
65878a
 
65878a
 static int cancel_job(DBusConnection *bus, char **args) {