mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
cp: avoid spurious failure on any non-linux kernel
* src/extent-scan.c (extent_scan_read) [!linux]: Always set scan->initial_scan_failed so caller knows not to report the failure.
This commit is contained in:
1 parent
ee74c7d36d
commit
d5fa424a9c
1 file changed
+1
@@ -110,6 +110,7 @@ extent_scan_read (struct extent_scan *scan)
|
||||
extern bool
|
||||
extent_scan_read (struct extent_scan *scan ATTRIBUTE_UNUSED)
|
||||
{
|
||||
scan->initial_scan_failed = true;
|
||||
errno = ENOTSUP;
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user