]> err.no Git - systemd/commit
Allow 'list-unit-files' to run with --root.
authorBill Nottingham <notting@redhat.com>
Tue, 22 Nov 2011 20:45:34 +0000 (15:45 -0500)
committerMichal Schmidt <mschmidt@redhat.com>
Mon, 5 Dec 2011 21:04:42 +0000 (22:04 +0100)
commitd380a3bcd14376ed72286e78dbcc871b7d6d2151
tree095eb202adbbd0a65957fbf3122673f1278bdccb
parent2096e009a790073a934f5cd07d17024d3b199d0b
Allow 'list-unit-files' to run with --root.

To do so, move the check for the bus to the bus-using portion of
list_unit_files(), and ensure that get_config_path doesn't abort when
checking the runtime path with --root.
src/install.c
src/systemctl.c