mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
ed731fec7c
Current code always output "truncfile returned 0" because $? was modified by previous command. Use $ret to indicate the correct return value from truncfile. [dchinner: fix formatting issues, update commit message.] Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>