summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Process/Error.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2004-01-24 15:37:01 +0000
committerfukachan <fukachan>2004-01-24 15:37:01 +0000
commitfe9857ff40964ba1266a624af191cc66ce703f17 (patch)
tree0a08d7ef3b4793becdd005c0b0088d80e9a441ab /fml/lib/FML/Process/Error.pm
parent5a7295448461b4ce4a49c48f14847b0ca8ea11a4 (diff)
downloadfml8-fe9857ff40964ba1266a624af191cc66ce703f17.tar.gz
fml8-fe9857ff40964ba1266a624af191cc66ce703f17.tar.bz2
fml8-fe9857ff40964ba1266a624af191cc66ce703f17.zip
overhaul: clean up (FNF)
Diffstat (limited to 'fml/lib/FML/Process/Error.pm')
-rw-r--r--fml/lib/FML/Process/Error.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/fml/lib/FML/Process/Error.pm b/fml/lib/FML/Process/Error.pm
index cbd01198..22086af4 100644
--- a/fml/lib/FML/Process/Error.pm
+++ b/fml/lib/FML/Process/Error.pm
@@ -3,7 +3,7 @@
# Copyright (C) 2002,2003,2004 Ken'ichi Fukamachi
# All rights reserved.
#
-# $FML: Error.pm,v 1.37 2004/01/02 02:11:27 fukachan Exp $
+# $FML: Error.pm,v 1.38 2004/01/02 14:50:35 fukachan Exp $
#
package FML::Process::Error;
@@ -222,6 +222,7 @@ sub _clean_up_bouncers
};
$curproc->logerror($@) if $@;
+ # XXX-TODO: 3600 customizable.
$curproc->set_event_timeout($channel, time + 3600);
}
else {
@@ -237,7 +238,7 @@ show help.
=cut
-# Descriptions: show help
+# Descriptions: show help.
# Arguments: none
# Side Effects: none
# Return Value: none
@@ -275,9 +276,9 @@ sub finish
my $eval = $config->get_hook( 'error_finish_start_hook' );
if ($eval) { eval qq{ $eval; }; $curproc->logwarn($@) if $@; }
+ # XXX NOT INFORM ANY RESULTS BUT ONLY LOG IT TO AVOID LOOP.
if ($pcb->get("error", "found")) {
$curproc->log("error message found");
- # inform ?
}
else {
$curproc->log("error message not found");