]> git.ipfire.org Git - thirdparty/systemd.git/commit
systemctl: skip non-existent units in the 'cat' verb
authorFrantisek Sumsal <frantisek@sumsal.cz>
Sat, 28 Dec 2019 11:29:19 +0000 (12:29 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 2 Jan 2020 14:27:25 +0000 (15:27 +0100)
commita25457f5b7689265bd2235c4da218896e7c5c1d0
tree9b704fdd7e11e8e76622a05030337f90d2db92c4
parent49d418d4ab52206143c8e598c82b5c7843306d2b
systemctl: skip non-existent units in the 'cat' verb

When processing list of units (either provided manually or as a
wildcard), let's skip units for which we don't have an on-disk
counterpart, but note the -ENOENT error code and propagate it back to
the user.

Fixes: #14082
src/systemctl/systemctl.c