mirror of
https://github.com/systemd/systemd
synced 2024-09-06 08:46:19 +00:00
bus-policy: do not exit() from policy_dump()
This function is quite useful for debugging. Exiting from it seems unnecessary.
This commit is contained in:
parent
080edb3484
commit
e42bb8d4ed
|
@ -730,7 +730,7 @@ static void dump_hashmap_items(Hashmap *h) {
|
|||
}
|
||||
}
|
||||
|
||||
noreturn void policy_dump(Policy *p) {
|
||||
void policy_dump(Policy *p) {
|
||||
|
||||
printf("%s Default Items:\n", draw_special_char(DRAW_ARROW));
|
||||
dump_items(p->default_items, "\t");
|
||||
|
@ -743,8 +743,6 @@ noreturn void policy_dump(Policy *p) {
|
|||
|
||||
printf("%s Mandatory Items:\n", draw_special_char(DRAW_ARROW));
|
||||
dump_items(p->mandatory_items, "\t");
|
||||
|
||||
exit(0);
|
||||
}
|
||||
|
||||
static const char* const policy_item_type_table[_POLICY_ITEM_TYPE_MAX] = {
|
||||
|
|
Loading…
Reference in a new issue