Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix: systemd: Prevent use-of-NULL when determining if an agent exists
  • Loading branch information
beekhof committed Feb 28, 2014
1 parent 7d54502 commit 0597697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/services/systemd.c
Expand Up @@ -141,7 +141,7 @@ systemd_unit_by_name(const gchar * arg_name, gchar ** out_unit)

name = systemd_service_name(arg_name);

while(*out_unit == NULL) {
while(TRUE) {
msg = systemd_new_method(BUS_NAME".Manager", method);
CRM_ASSERT(msg != NULL);

Expand Down

0 comments on commit 0597697

Please sign in to comment.