X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Finstall.c;h=cfbd50ead954c93e518f19d05be6ef7f6402f5fe;hb=75d3fc60f88e08bf953063819a8a04b881d6db23;hp=53dd26fd7f2f75998940fd49ed7239958802b83f;hpb=8ea913b2eaadbd92e069ea6b71cc5f5df409decf;p=elogind.git diff --git a/src/install.c b/src/install.c index 53dd26fd7..cfbd50ead 100644 --- a/src/install.c +++ b/src/install.c @@ -1904,7 +1904,7 @@ int unit_file_get_list( } else if (r > 0) { f->state = UNIT_FILE_DISABLED; goto found; - } else if (r == 0) { + } else { f->state = UNIT_FILE_STATIC; goto found; }