summaryrefslogtreecommitdiff
path: root/src/systemctl
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2023-03-28 09:36:35 +0200
committerDavid Tardon <dtardon@redhat.com>2023-04-12 17:04:38 +0200
commit0bd5a57a576cb7471c50d7c18cd3c155c5d041ce (patch)
tree10582b76d3e37c28f8f0aac27e42021fa0292dcb /src/systemctl
parent6ecf4b7819a2acc54e9c1f6042b4811aa7767dd3 (diff)
downloadsystemd-0bd5a57a576cb7471c50d7c18cd3c155c5d041ce.tar.gz
systemctl: drop stray assignment
Diffstat (limited to 'src/systemctl')
-rw-r--r--src/systemctl/systemctl-list-unit-files.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/systemctl/systemctl-list-unit-files.c b/src/systemctl/systemctl-list-unit-files.c
index 426ba1acc7..a2b12436b3 100644
--- a/src/systemctl/systemctl-list-unit-files.c
+++ b/src/systemctl/systemctl-list-unit-files.c
@@ -169,8 +169,6 @@ int verb_list_unit_files(int argc, char *argv[], void *userdata) {
}
assert(c <= n_units);
-
- r = 0;
} else {
_cleanup_(sd_bus_message_unrefp) sd_bus_message *m = NULL;
_cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL;