summaryrefslogtreecommitdiff
path: root/fml/libexec/fmlwrapper
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-01-21 08:14:28 +0000
committerfukachan <fukachan>2001-01-21 08:14:28 +0000
commit68b7b22bc3634d051ea158b2bd0ab95763190509 (patch)
treee9a6e9a6bb9f9610f420a9a58c335c52fa9eaea6 /fml/libexec/fmlwrapper
parent8ceb857e9e510eeb15d98c42a2cb35dc2f51bccf (diff)
downloadfml8-68b7b22bc3634d051ea158b2bd0ab95763190509.tar.gz
fml8-68b7b22bc3634d051ea158b2bd0ab95763190509.tar.bz2
fml8-68b7b22bc3634d051ea158b2bd0ab95763190509.zip
more debug
Diffstat (limited to 'fml/libexec/fmlwrapper')
-rwxr-xr-xfml/libexec/fmlwrapper24
1 files changed, 14 insertions, 10 deletions
diff --git a/fml/libexec/fmlwrapper b/fml/libexec/fmlwrapper
index 5facd77b..dfc9443f 100755
--- a/fml/libexec/fmlwrapper
+++ b/fml/libexec/fmlwrapper
@@ -88,19 +88,23 @@ sub Bootstrap
# debug;
if ($0 =~ /fmlwrapper/) {
- use Data::Dumper; print Dumper( $main_cf ); exit 1;
+ use Data::Dumper; print Dumper( $main_cf ); sleep 5;
}
# 5. o.k. here we go!
- require "$libexec_dir/fml";
- ProcessSwitch(
- {
- cf_list => \@cf,
- myname => $myname,
- ml_home_dir => $ml_home_dir,
- options => \%options,
- });
-
+ if (-f "$libexec_dir/fml") {
+ require "$libexec_dir/fml";
+ ProcessSwitch(
+ {
+ cf_list => \@cf,
+ myname => $myname,
+ ml_home_dir => $ml_home_dir,
+ options => \%options,
+ });
+ }
+ else {
+ croak("$libexec_dir/fml is not found.");
+ }
}