Make parseini properly handle line continuations.
[matthijs/upstream/backupninja.git] / lib / parseini.in
index 2f2124c49dd6137532302a7d11085e1d6c172bd3..a6282dc59f4717f94acbcb929ec2f6abfa352bf8 100644 (file)
@@ -92,7 +92,9 @@ END {
                 if (v ~ /\\$/) { 
                    v = substr(v, 1, length(v)-1) 
                    sub(/[ \r\t]+$/, "", v) 
-                } 
+                } else {
+                                       continueline = 0
+                               }
                 if (v) value[nvalue++] = v 
             } 
             else if (v ~ MATCH) {