blob: f5e965b789494790f0937c19bcb0d8ddfd19b474 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
opt="$1"
if [ "x$opt" = "x-f" ]; then
shift
elif ! `dirname "$0"`/check_db_safety; then
exit 1
fi
ns="$1"
path="`find db/dom/ -ipath '*/ns/'\"$ns\" -size +1c | head -n 1`"
if [ "x$path" = "x" ]; then
exit 1
fi
cat "$path"
|