diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-05-07 17:02:55 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-05-09 15:17:57 -0400 |
commit | 8515830341a49a0af875333a1893a8aa41ee1099 (patch) | |
tree | 32482978a8c6ca4d32e9d24f63ab5e9d9ff20866 /src/shared/cgroup-show.c | |
parent | 893275df36c8c358d3c0b851ca255a6169dac138 (diff) |
shared/install: do not print warning when a unit is already enabled
Executing 'systemctl enable' on the same unit twice would cause
a warning about a missing [Install] section to be printed. To avoid
this, count all symlinks that "would" be created, and return 1
no matter if we actually created a symlink or skipped creation because
it already exists.
Diffstat (limited to 'src/shared/cgroup-show.c')
0 files changed, 0 insertions, 0 deletions