Commit 9e994d22b8b7547c8a3c0380c13d37dcad3a6862

Authored by Marius Hanne
1 parent 259a8bf623
Exists in master

fix maildrop serializer

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

maildrop_serializer.rb
... ... @@ -5,7 +5,7 @@
5 5 "if (#{filter_expressions(filter)})",
6 6 "{",
7 7 " exception {",
8   - " `test -d '#{dest_folder(filter)}'",
  8 + " `test -d '#{dest_folder(filter)}'`",
9 9 " if( $RETURNCODE == 1 )",
10 10 " {",
11 11 " `maildirmake #{dest_folder(filter)}`",
... ... @@ -30,7 +30,7 @@
30 30 def filter_expressions(filter)
31 31 fe = ""
32 32 for exp in filter.expressions
33   - post_flag = "h"
  33 + post_flag = ""
34 34 fe << " #{filter.operator} " unless fe == ""
35 35 if exp.field_name == "Body"
36 36 fe << "/"