summaryrefslogtreecommitdiff
path: root/scripts/ns2ip
diff options
context:
space:
mode:
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"