Skip to content

Commit

Permalink
Fix truncate arg ordering because of stupid OSX.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgiven committed Apr 30, 2024
1 parent 7501fcf commit b805b86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/encodedecodetest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if [ ! -s $destfile ]; then
exit 1
fi

truncate $srcfile -r $destfile
truncate -r $destfile $srcfile
if ! cmp $srcfile $destfile; then
echo "Comparison failed!" >&2
exit 1
Expand Down

0 comments on commit b805b86

Please sign in to comment.