diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2015-02-19 11:06:24 +0100 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2015-02-19 11:06:24 +0100 |
commit | 4e5589836c9e143796c3f3d81e67ab7a9209e2b0 (patch) | |
tree | ffbfa7d26b7eecc73ee0fdb2c222851049aca9c4 /units/systemd-rfkill@.service.in | |
parent | 0377e373d1b4973effe14ca19e21f0c10740085d (diff) |
sysv-generator: fix wrong "Overwriting existing symlink" warnings
Fix result testing of is_symlink() to ignore negative results, which happen if
the file name does not exist at all. In this case we do not want a warning and
unlink the non-existing link.
https://bugs.debian.org/778700
Diffstat (limited to 'units/systemd-rfkill@.service.in')
0 files changed, 0 insertions, 0 deletions