mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-08-18 01:18:51 +02:00
Skip nonexistent directories.
This commit is contained in:
@@ -17,6 +17,10 @@ other_partition_tmpdir=
|
||||
# if the mount point name contains `% '.
|
||||
dot_mount_point=`df --no-sync -P . | sed -n '2s/.*% *//p'`
|
||||
for d in $CANDIDATE_TMP_DIRS; do
|
||||
|
||||
# Skip nonexistent directories.
|
||||
test -d $d || continue
|
||||
|
||||
d_mount_point=`df --no-sync -P $d | sed -n '2s/.*% *//p'`
|
||||
|
||||
# Same partition? Skip it.
|
||||
|
||||
Reference in New Issue
Block a user