summaryrefslogtreecommitdiffstats
path: root/scripts/find-dead-symlinks
blob: b1dff84cef1f25f9788ea71b11786b3cdb32751c (plain)
1
2
3
4
5
6
7
#!/usr/bin/env bash

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