diff options
author | Rob Landley <rob@landley.net> | 2021-07-04 12:24:32 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2021-07-04 12:24:32 -0500 |
commit | 98613d454671ebc3e1a761788453542cd93e6ada (patch) | |
tree | c903447a46a16b77b6fe9b398a302da23a47e4dc /toys/pending/fsck.c | |
parent | ba242e08ee83910596420f42830fd3d6fc1868d0 (diff) | |
download | toybox-98613d454671ebc3e1a761788453542cd93e6ada.tar.gz |
Fix tail -F with no arguments.
fstat() doesn't fail on stdin, so check for fd 0 explicitly so we don't
try to access zero length array when optc was zero. (Plus can't reopen '-'.)
Diffstat (limited to 'toys/pending/fsck.c')
0 files changed, 0 insertions, 0 deletions