mirror of
https://https.git.savannah.gnu.org/git/coreutils.git
synced 2026-01-26 15:29:07 +00:00
(dot_mount_point): Use stat -L, in case the
directory is actually a symbolic link.
This commit is contained in:
parent
f3a8588fd5
commit
e3f1529533
@ -15,7 +15,7 @@ for d in $CANDIDATE_TMP_DIRS; do
|
||||
# Skip nonexistent directories.
|
||||
test -d $d || continue
|
||||
|
||||
d_mount_point=`stat -c %d $d`
|
||||
d_mount_point=`stat -L -c %d $d`
|
||||
|
||||
# Same partition? Skip it.
|
||||
test x$d_mount_point = x$dot_mount_point && continue
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user