summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Process/Error.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2002-05-19 11:53:43 +0000
committerfukachan <fukachan>2002-05-19 11:53:43 +0000
commitcc91de562b5367ec779f473ed1e26f4c04c0ec4a (patch)
tree7fb44eeba8f66d52d912fb9c42ead07f80a82444 /fml/lib/FML/Process/Error.pm
parent328af593a50924074967d40960fc7c4b2cd45b1f (diff)
downloadfml8-cc91de562b5367ec779f473ed1e26f4c04c0ec4a.tar.gz
fml8-cc91de562b5367ec779f473ed1e26f4c04c0ec4a.tar.bz2
fml8-cc91de562b5367ec779f473ed1e26f4c04c0ec4a.zip
fix typo and missing definition
Diffstat (limited to 'fml/lib/FML/Process/Error.pm')
-rw-r--r--fml/lib/FML/Process/Error.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/fml/lib/FML/Process/Error.pm b/fml/lib/FML/Process/Error.pm
index c387f29b..3a7f0656 100644
--- a/fml/lib/FML/Process/Error.pm
+++ b/fml/lib/FML/Process/Error.pm
@@ -3,7 +3,7 @@
# Copyright (C) 2002 Ken'ichi Fukamachi
# All rights reserved.
#
-# $FML: Error.pm,v 1.2 2002/05/19 09:45:54 fukachan Exp $
+# $FML: Error.pm,v 1.3 2002/05/19 11:25:24 fukachan Exp $
#
package FML::Process::Error;
@@ -130,6 +130,7 @@ XXX Each command determines need of lock or not.
sub run
{
my ($curproc, $args) = @_;
+ my $config = $curproc->{ config };
my $found = 0;
my $pcb = $curproc->{ pcb };
my $msg = $curproc->{ incoming_message }->{ message };
@@ -156,7 +157,7 @@ sub run
$pcb->set("error", "found", 1) if $found;
- my $eval = $config->get_hook( 'error_run_end_hook' );
+ $eval = $config->get_hook( 'error_run_end_hook' );
if ($eval) { eval qq{ $eval; }; LogWarn($@) if $@; }
}