diff options
| author | makefu <github@syntax-fehler.de> | 2011-12-07 13:23:04 +0100 | 
|---|---|---|
| committer | makefu <github@syntax-fehler.de> | 2011-12-07 13:23:04 +0100 | 
| commit | dc9f6a510182b6947a8ee58b1940dd4ce2a32fd7 (patch) | |
| tree | 8f6a3e9ffea84735e5b0f7dfbce7d6f24743b7e8 | |
| parent | ad8a9d03993ade25f84a6ce0a1be6d7303fedc65 (diff) | |
//assets: check-truth prints line when successful
| -rwxr-xr-x | assets/bin/check-truth | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/assets/bin/check-truth b/assets/bin/check-truth index 88246a54..6b55fdcd 100755 --- a/assets/bin/check-truth +++ b/assets/bin/check-truth @@ -3,9 +3,9 @@ set -euf  DB=${1-"/krebs/db/truth"}  HERE=$(dirname $(readlink -f $0))  read LINE -if (cat $DB;echo $LINE) | $HERE/truth2json - >/dev/null ;then -  echo "success" +if (cat $DB;echo $LINE) | $HERE/truth2json - 1>/dev/null ;then +  echo "success" 1>&2 +  echo "$LINE"  else -  echo "you fail" +  echo "you fail" 1>&2  fi - | 
