Skip to content
Commit f2ce2663 authored by Martin Pitt's avatar Martin Pitt Committed by Zbigniew Jędrzejewski-Szmek
Browse files

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
(cherry picked from commit 4e558983)

Apparently this was missed for some reason and did not end up in
stable previously.
parent e1702931
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment