mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Only split on tabs if there are at least 3 https://www.virtualmin.com/node/22369
This commit is contained in:
@@ -72,7 +72,8 @@ while(<FSTAB>) {
|
||||
local(@o, $at_boot);
|
||||
chop; s/#.*$//g;
|
||||
if (!/\S/ || /\signore\s/) { next; }
|
||||
if (/\t/) {
|
||||
if (/\t+[^\t]+\t+[^\t+]\t+/) {
|
||||
# Contains at least 3 tabs .. assume tab separation
|
||||
@p = split(/\t+/, $_);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user