chiark / gitweb /
systemd: return error when asked to stop unknown unit
authorMichal Sekletar <msekleta@redhat.com>
Tue, 19 Jun 2012 08:00:54 +0000 (10:00 +0200)
committerMichal Schmidt <mschmidt@redhat.com>
Tue, 19 Jun 2012 09:38:22 +0000 (11:38 +0200)
commit9722ef2565fdddd64deaa99d7665ca0fdafed1a5
tree644fa824edc46e682f9b4c0de6da392524b97129
parentb30b4260255702345eab1ac076bb00869057c16b
systemd: return error when asked to stop unknown unit

Command systemctl stop foo.service, will print error message, when
foo.service is unknown to systemd, i.e. there is no unit file loaded for
this service.
https://bugzilla.redhat.com/show_bug.cgi?id=732874
src/core/dbus-manager.c