summaryrefslogtreecommitdiff
path: root/fml/libexec/loader
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-10-08 15:44:03 +0000
committerfukachan <fukachan>2001-10-08 15:44:03 +0000
commit2a9afe09a5ccf3b97cf404eab228dafb7cf4c2e1 (patch)
treebae4cc1ae3ed06d5151eee6b4cd4a478538a3d25 /fml/libexec/loader
parent9beebf107dfc493e52ac5d57d117599e0dfa4838 (diff)
downloadfml8-2a9afe09a5ccf3b97cf404eab228dafb7cf4c2e1.tar.gz
fml8-2a9afe09a5ccf3b97cf404eab228dafb7cf4c2e1.tar.bz2
fml8-2a9afe09a5ccf3b97cf404eab228dafb7cf4c2e1.zip
show $@ in error
Diffstat (limited to 'fml/libexec/loader')
-rwxr-xr-xfml/libexec/loader6
1 files changed, 3 insertions, 3 deletions
diff --git a/fml/libexec/loader b/fml/libexec/loader
index 9977f499..fd9cb8f4 100755
--- a/fml/libexec/loader
+++ b/fml/libexec/loader
@@ -4,7 +4,7 @@
# Copyright (C) 2000-2001 Ken'ichi Fukamachi
# All rights reserved.
#
-# $FML: loader,v 1.16 2001/06/17 08:57:12 fukachan Exp $
+# $FML: loader,v 1.17 2001/10/08 12:42:52 fukachan Exp $
#
eval 'exec /usr/local/bin/perl -S $0 ${1+"$@"}'
@@ -17,7 +17,7 @@ use Carp;
# main configuration file for directory switch
$MainCF = '/etc/fml/main.cf';
-eval { &Bootstrap();};
+eval q{ &Bootstrap();};
if ($@) { print STDERR "Error: ", $@, "\n"; exit 1;}
exit 0;
@@ -89,7 +89,7 @@ sub Bootstrap
unless ($@) {
eval q{ &Bootstrap2($main_cf_file);};
if ($@) {
- croak("fail to execute Bootstrap2($main_cf_file)\n");
+ croak("fail to execute Bootstrap2($main_cf_file)\n$@\n");
}
}
else {