trawets / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone

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

Authored and Committed by zbyszek 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