additional changes to it.pm (post 3.0.0beta2)
[BackupPC.git] / lib / BackupPC / Storage / Text.pm
index 8a8b528..fa46af2 100644 (file)
@@ -364,6 +364,7 @@ sub ConfigFileMerge
                 # if we have a complete expression, then we are done
                 # skipping text from the original config file.
                 #
                 # if we have a complete expression, then we are done
                 # skipping text from the original config file.
                 #
+                $skipExpr = $1 if ( $skipExpr =~ /(.*)/s );
                 eval($skipExpr);
                 $skipExpr = undef if ( $@ eq "" );
             }
                 eval($skipExpr);
                 $skipExpr = undef if ( $@ eq "" );
             }