Permalink
Browse files

Simplify: just use diff's exit value directly.

  • Loading branch information...
1 parent bcd6063 commit 3404d87621a11524137d3b6711ac18e0a5d4b5b6 @kr committed Nov 30, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 check-one.sh
View
2 check-one.sh
@@ -38,5 +38,5 @@ fi
fgrep -v "#" $commands | $nc $server $port > "$tmpf"
# Check the output
-diff $expected "$tmpf" || exit 1
+diff $expected "$tmpf"

0 comments on commit 3404d87

Please sign in to comment.