commit ddb20e067ab184cd18ee8b88d74044dfeeaaad4c
parent cdeb78362ceacd8087b1d04ef26573cb115b7844
Author: Jan Pobrislo <ccx@te2000.cz>
Date: Sun, 12 Oct 2025 12:39:15 +0000
fix regexp for nawk
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/parse_fs.include.awk b/parse_fs.include.awk
@@ -241,7 +241,7 @@ function validate_mountpoint( mtp2) {
if(mtp != "/" && mtp ~ "/$") {
fatal_parse("Trailing slash not allowed: '" mtp "'")
}
- if(mtp ~ "/(|\\.|\\.\\.)/") {
+ if(mtp ~ "/(\\.|\\.\\.)?/") {
fatal_parse("Mountpoint '" mtp "' is not canonical absolute path")
}
for(mtp2 in mountpoints) {