]> git.ipfire.org Git - thirdparty/systemd.git/commit
systemctl: Allow 'edit' and 'cat' on unloaded units 2410/head
authorDouglas Christman <DouglasChristman@gmail.com>
Thu, 21 Jan 2016 23:22:55 +0000 (18:22 -0500)
committerDouglas Christman <DouglasChristman@gmail.com>
Thu, 21 Jan 2016 23:22:55 +0000 (18:22 -0500)
commit1e524ec6e2031629fec27906423619e3403b2f3e
treeb91f51631990fc1a341887533febcd9af722c8dd
parente77435f2b09f4e9e7f2b12cc89273ef53910f3e7
systemctl: Allow 'edit' and 'cat' on unloaded units

Don't fail if the unit has a LoadError; otherwise `systemctl edit` cannot be
used to correct the error (e.g. multiple "ExecStart=" lines).

Remove file changed warning so cat output isn't interspersed with log messages.

Fixes #829
src/systemctl/systemctl.c