summaryrefslogtreecommitdiff
path: root/scripts/ns2ip
diff options
context:
space:
mode:
authorcathugger <cathugger@cock.li>2017-03-10 03:30:16 +0000
committercathugger <cathugger@cock.li>2017-03-10 03:30:16 +0000
commit7e5469a0dee1fbaf661720fc330d47d992f1d8fe (patch)
treed5f8a16a1ae8e390103e35a77d975e3157115236 /scripts/ns2ip
parent9ec38bd2c56d112e49360c4f8be92900c998205c (diff)
downloadresdb-7e5469a0dee1fbaf661720fc330d47d992f1d8fe.tar.gz
resdb-7e5469a0dee1fbaf661720fc330d47d992f1d8fe.zip
add muh nameserver, some script tweaks
Diffstat (limited to 'scripts/ns2ip')
-rwxr-xr-xscripts/ns2ip2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ns2ip b/scripts/ns2ip
index ff5bf2b..f5e965b 100755
--- a/scripts/ns2ip
+++ b/scripts/ns2ip
@@ -3,7 +3,7 @@
opt="$1"
if [ "x$opt" = "x-f" ]; then
shift
-elif ! ./scripts/check_db_safety; then
+elif ! `dirname "$0"`/check_db_safety; then
exit 1
fi
ns="$1"