summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/systemctl/systemctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index bb7213354d..b4b58c05b0 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -3630,6 +3630,7 @@ static int enable_unit(DBusConnection *bus, char **args) {
}
}
+ r = 0;
} else {
const char *method;
bool send_force = true, expect_carries_install_info = false;