aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2025-08-02 13:49:48 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2025-08-03 19:48:06 -0700
commit0b2080f2fad8a0971e28e2b43fcf878d17e8e30b (patch)
treea976ecda0db9acb7cdf052e1720fc170db47987c /src
parenttail: prefer readlink to lstat+S_ISLNK (diff)
downloadcoreutils-0b2080f2fad8a0971e28e2b43fcf878d17e8e30b.tar.gz
coreutils-0b2080f2fad8a0971e28e2b43fcf878d17e8e30b.zip
tail: omit redundant assignment
* src/tail.c (recheck): f->remote must be true already, so don’t set it to true.
Diffstat (limited to 'src')
-rw-r--r--src/tail.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tail.c b/src/tail.c
index 5543cc24c..13a09942b 100644
--- a/src/tail.c
+++ b/src/tail.c
@@ -1029,7 +1029,6 @@ recheck (struct File_spec *f, bool blocking)
error (0, 0, _("%s has been replaced with an untailable remote file"),
quoteaf (f->prettyname));
f->ignore = true;
- f->remote = true;
}
else
{