]> err.no Git - systemd/commit
systemctl: fix 'is-enabled' for native units under /lib
authorMichal Schmidt <mschmidt@redhat.com>
Mon, 13 Jun 2011 12:19:47 +0000 (14:19 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 14 Jun 2011 19:58:29 +0000 (21:58 +0200)
commitb77398f7a05aa313cebcea81e9381833bede2d61
treef9c7043c20be2bf29f930d5522833bf6a8d6f9c8
parent54763e12662d465a038c424ea7baf565cca7be76
systemctl: fix 'is-enabled' for native units under /lib

The units always showed up as enabled.

The config file has to be parsed before we can check what's in
the [Install] section.

https://bugzilla.redhat.com/show_bug.cgi?id=699027
src/systemctl.c