ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone

5e7fc4 Avoid trying to create the symlink if there's a dangling symlink already

Authored and Committed by Zbigniew Jędrzejewski-Szmek 2 years ago
1 file changed. 8 lines added. 4 lines removed.
    Avoid trying to create the symlink if there's a dangling symlink already
    
    'test -e' says 'no' for dangling symlinks.
    
    Let's also ignore the error if this fails. We shouldn't fail the
    transaction.
    
        
file modified
+8 -4