summaryrefslogtreecommitdiffstats
path: root/assets/bin/check-truth
diff options
context:
space:
mode:
Diffstat (limited to 'assets/bin/check-truth')
-rwxr-xr-xassets/bin/check-truth2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/bin/check-truth b/assets/bin/check-truth
index 6b55fdcd..064a7d97 100755
--- a/assets/bin/check-truth
+++ b/assets/bin/check-truth
@@ -1,7 +1,7 @@
#!/bin/sh
set -euf
-DB=${1-"/krebs/db/truth"}
HERE=$(dirname $(readlink -f $0))
+DB="$HERE/../../db/truth"
read LINE
if (cat $DB;echo $LINE) | $HERE/truth2json - 1>/dev/null ;then
echo "success" 1>&2