chiark / gitweb /
systemctl: append .service when unit does not have valid suffix
authorLukas Nykryn <lnykryn@redhat.com>
Tue, 16 Oct 2012 09:01:29 +0000 (11:01 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 16 Oct 2012 14:07:37 +0000 (16:07 +0200)
commit696c245a23d55e4249651573eb9c61b68e61580c
treee15b6d190757cd624f45354ae007640698c3b566
parentc3f60ec54da2a5d1ba00cec6bb2c282f079aa3f6
systemctl: append .service when unit does not have valid suffix

systemctl status a and systemctl status a.service lead to same output but
systemctl status a.b and systemctl status a.b.service do not.
src/shared/unit-name.c