summaryrefslogtreecommitdiff
path: root/fml
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-11-10 04:00:26 +0000
committerfukachan <fukachan>2001-11-10 04:00:26 +0000
commit29025194f76fdb6df53ba9ffeb1bbd1e081cfa2d (patch)
tree7bd733a45ddcb04c6fc004980a011ad74c9c0baf /fml
parente58ab94734c18a940f324b1fbf599df06f91fbbd (diff)
downloadfml8-29025194f76fdb6df53ba9ffeb1bbd1e081cfa2d.tar.gz
fml8-29025194f76fdb6df53ba9ffeb1bbd1e081cfa2d.tar.bz2
fml8-29025194f76fdb6df53ba9ffeb1bbd1e081cfa2d.zip
bug fix: format $reason
Diffstat (limited to 'fml')
-rw-r--r--fml/lib/FML/Process/Switch.pm4
-rwxr-xr-xfml/libexec/loader4
2 files changed, 4 insertions, 4 deletions
diff --git a/fml/lib/FML/Process/Switch.pm b/fml/lib/FML/Process/Switch.pm
index f705526b..2bf82274 100644
--- a/fml/lib/FML/Process/Switch.pm
+++ b/fml/lib/FML/Process/Switch.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: Switch.pm,v 1.33 2001/11/09 00:05:19 fukachan Exp $
+# $FML: Switch.pm,v 1.34 2001/11/09 13:23:14 fukachan Exp $
#
package FML::Process::Switch;
@@ -178,7 +178,7 @@ sub main::Bootstrap2
croak($reason);
}
else {
- $reason =~ s/[\n\s]*at.*$//m;
+ $reason =~ s/[\n\s]*\s+at\s+.*$//m;
croak($reason);
}
}
diff --git a/fml/libexec/loader b/fml/libexec/loader
index e1617600..b3a31026 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.18 2001/10/08 15:44:03 fukachan Exp $
+# $FML: loader,v 1.19 2001/11/09 00:03:31 fukachan Exp $
#
eval 'exec /usr/local/bin/perl -S $0 ${1+"$@"}'
@@ -94,7 +94,7 @@ sub Bootstrap
croak("fail to execute Bootstrap2($main_cf_file)\n$@\n");
}
else {
- $reason =~ s/[\n\s]*at.*$//m;
+ $reason =~ s/[\n\s]*\s+at\s+.*$//m;
print STDERR "Error: ", $reason, "\n";
exit(1);
}