summaryrefslogtreecommitdiffstats
path: root/src/basic/env-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/env-file.c')
-rw-r--r--src/basic/env-file.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/basic/env-file.c b/src/basic/env-file.c
index 58d7b3ec35..eb5e640494 100644
--- a/src/basic/env-file.c
+++ b/src/basic/env-file.c
@@ -243,7 +243,13 @@ static int parse_env_file_internal(
break;
case COMMENT_ESCAPE:
- state = COMMENT;
+ log_debug("The line which doesn't begin with \";\" or \"#\", but follows a comment" \
+ " line trailing with escape is now treated as a non comment line since v254.");
+ if (strchr(NEWLINE, c)) {
+ state = PRE_KEY;
+ line++;
+ } else
+ state = COMMENT;
break;
}
}