]> Sergey Matveev's repositories - bfs.git/blob - tests/remove-sibling.sh
Skip mtab
[bfs.git] / tests / remove-sibling.sh
1 #!/usr/bin/env bash
2
3 for file in "${1%/*}"/*; do
4     if [ "$file" != "$1" ]; then
5         rm "$file"
6         exit $?
7     fi
8 done
9
10 exit 1