~matthiasbeyer/imag

ref: 9b48dc27cd00fcc75917c2702dc8dc4c6493e8d3 imag/scripts/find-dead-symlinks -rwxr-xr-x 114 bytes
9b48dc27Matthias Beyer libimagentryref: Move from error-chain to failure 3 years ago
                                                                                
1
2
3
4
5
6
7
#!/usr/bin/env bash

[[ 0 == "$(find . -xtype l | wc -l)" ]] || {
    echo >2 "DEAD SYMLINKS FOUND"
    exit 1
}