summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Command.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2002-01-20 13:50:22 +0000
committerfukachan <fukachan>2002-01-20 13:50:22 +0000
commit21eb333a9efe70817dc00a8b10fbf3070612c062 (patch)
treed5b424cee9c4f0a21f3457d206fc6ccc29cab67e /fml/lib/FML/Command.pm
parente8e4e70704f89e4faeb7df60a9fd55c6b111b673 (diff)
downloadfml8-21eb333a9efe70817dc00a8b10fbf3070612c062.tar.gz
fml8-21eb333a9efe70817dc00a8b10fbf3070612c062.tar.bz2
fml8-21eb333a9efe70817dc00a8b10fbf3070612c062.zip
fixed to call up error to FML::Process::Command layer
Diffstat (limited to 'fml/lib/FML/Command.pm')
-rw-r--r--fml/lib/FML/Command.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/fml/lib/FML/Command.pm b/fml/lib/FML/Command.pm
index 8d8b0222..d56d370a 100644
--- a/fml/lib/FML/Command.pm
+++ b/fml/lib/FML/Command.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: Command.pm,v 1.14 2001/11/27 11:22:09 fukachan Exp $
+# $FML: Command.pm,v 1.15 2001/12/22 09:21:01 fukachan Exp $
#
package FML::Command;
@@ -106,7 +106,8 @@ sub AUTOLOAD
}
else {
LogError("$pkg module is not found");
- LogError($@);
+ LogError($@) if $@;
+ croak("$pkg module is not found"); # upcall to FML::Process::Command
}
}