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