1 |
brianr |
1.1 |
diff -urN smeserver-vacation-1.1.old/root/usr/local/bin/vacation smeserver-vacation-1.1/root/usr/local/bin/vacation |
2 |
|
|
--- smeserver-vacation-1.1.old/root/usr/local/bin/vacation 2015-01-08 00:51:14.264678204 +0100 |
3 |
|
|
+++ smeserver-vacation-1.1/root/usr/local/bin/vacation 2015-01-08 00:51:50.812400315 +0100 |
4 |
|
|
@@ -433,7 +433,7 @@ |
5 |
|
|
exit(0) unless $alias_match; |
6 |
|
|
} |
7 |
|
|
|
8 |
|
|
- ($subject) = ($header =~ /^Subject:\s+(.*)/m); |
9 |
|
|
+ ($subject) = ($header =~ /^Subject:\s+(.*)/im); |
10 |
|
|
$subject =~ s/\s*$//m; # Remove trailing spaces |
11 |
|
|
|
12 |
|
|
$subject = "(No subject)" unless $subject; |