mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
736c320a60 | ||
|
|
0ecbb04e00 | ||
|
|
2dfa6cfc1b | ||
|
|
e6184a0036 |
@@ -322,7 +322,7 @@ foreach my $m (@mounted) {
|
||||
$m->[2] eq "reiserfs" || $m->[2] eq "ufs" || $m->[2] eq "f2fs" ||
|
||||
$m->[2] eq "zfs" || $m->[2] eq "simfs" || $m->[2] eq "vzfs" ||
|
||||
$m->[2] eq "xfs" || $m->[2] eq "jfs" || $m->[2] eq "btrfs" ||
|
||||
$m->[2] eq "apfs" ||
|
||||
$m->[2] eq "apfs" || $m->[2] eq "fuseblk" ||
|
||||
$m->[1] =~ /^\/dev\// ||
|
||||
&indexof($m->[1], @$always) >= 0) {
|
||||
my $zp;
|
||||
|
||||
@@ -415,9 +415,9 @@ push(@can_dirs, $gconfig{'tempdir_sys'}) if ($gconfig{'tempdir_sys'});
|
||||
# Common fallbacks
|
||||
push(@can_dirs, "/dev/shm", "/tmp", "/var/tmp", "/usr/tmp");
|
||||
|
||||
# Remove duplicate entries, which can happen when both configured
|
||||
# dirs are set to the same path, or when a configured path matches one of
|
||||
# the built-in defaults
|
||||
# Remove duplicate entries, which can happen when both configured dirs are set
|
||||
# to the same path, or when a configured path matches one of the built-in
|
||||
# defaults
|
||||
@can_dirs = &unique(@can_dirs);
|
||||
|
||||
# Test each candidate in turn
|
||||
|
||||
Reference in New Issue
Block a user