summaryrefslogtreecommitdiff
path: root/foomatic-rip.in
diff options
context:
space:
mode:
Diffstat (limited to 'foomatic-rip.in')
-rwxr-xr-xfoomatic-rip.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/foomatic-rip.in b/foomatic-rip.in
index 5b0415b..74e6798 100755
--- a/foomatic-rip.in
+++ b/foomatic-rip.in
@@ -5,7 +5,7 @@ use strict;
use POSIX;
use Cwd;
-my $ripversion='$Revision: 3.43.2.11 $';
+my $ripversion='$Revision: 3.43.2.13 $';
#'# Fix emacs syntax highlighting
# foomatic-rip is a spooler-independent filter script which takes
@@ -374,7 +374,6 @@ if ($debug) {
$logh->autoflush(1);
} elsif (($quiet) && (!$verbose)) {
# Quiet mode, do not log
- close $logh;
open LOG, "> /dev/null";
$logh = *LOG;
@@ -4777,7 +4776,7 @@ sub readConfFile {
if (open CONF, "< $file") {
while (<CONF>)
{
- $conf{$1}="$2" if (m/^\s*([^\#\s]\S*)\s*:\s*(.*)\s*$/);
+ $conf{$1}="$2" if (m/^\s*([^\#\s]\S*)\s*:\s*(.*?)\s*$/);
}
close CONF;
}