Skip to content

Commit

Permalink
Simplify: just use diff's exit value directly.
Browse files Browse the repository at this point in the history
  • Loading branch information
kr committed Nov 30, 2008
1 parent bcd6063 commit 3404d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check-one.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.