summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-06-25 16:38:41 +0200
committerDaniel Mack <github@zonque.org>2015-06-25 16:38:41 +0200
commit906fa490769c4bdb3be1e90ac7d16f66120608c7 (patch)
treed50d960d8347bfee55c3d7d3cdf55a289f8f8c2b
parent9674f042b2bcbdd61d294e40b36d86f2dacd0914 (diff)
parent77cd2c87a47c49aa9063fbaa4d9077f4a381cab1 (diff)
Merge pull request #367 from msekletar/install-unit-file-list-assert
install: explicitly return 0 on success
-rw-r--r--src/shared/install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/install.c b/src/shared/install.c
index 559fda211d..c37cf1948a 100644
--- a/src/shared/install.c
+++ b/src/shared/install.c
@@ -2263,7 +2263,7 @@ int unit_file_get_list(
}
}
- return r;
+ return 0;
}
static const char* const unit_file_state_table[_UNIT_FILE_STATE_MAX] = {