diff options
| author | fukachan <fukachan> | 2001-02-05 04:44:49 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2001-02-05 04:44:49 +0000 |
| commit | dc46f267104e8dc4a272c3d0ae69fb1f7bab0b9e (patch) | |
| tree | 9d35fc0bb00c7febf7fe40882208d43a9b7fb07b /fml/libexec | |
| parent | 9912d9f8667167c4d489b305e11df87fd88493ab (diff) | |
| download | fml8-dc46f267104e8dc4a272c3d0ae69fb1f7bab0b9e.tar.gz fml8-dc46f267104e8dc4a272c3d0ae69fb1f7bab0b9e.tar.bz2 fml8-dc46f267104e8dc4a272c3d0ae69fb1f7bab0b9e.zip | |
pass the original @ARGV and it after getopts() to the main process
Diffstat (limited to 'fml/libexec')
| -rwxr-xr-x | fml/libexec/loader | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/fml/libexec/loader b/fml/libexec/loader index 923723bb..d22a43fa 100755 --- a/fml/libexec/loader +++ b/fml/libexec/loader @@ -4,7 +4,7 @@ # Copyright (C) 2000-2001 Ken'ichi Fukamachi # All rights reserved. # -# $Id: loader,v 1.3 2001/01/29 04:32:35 fukachan Exp $ +# $Id: loader,v 1.4 2001/02/01 08:43:16 fukachan Exp $ # $FML$ # @@ -60,6 +60,7 @@ sub Bootstrap # /etc/fml/domains/$DOMAIN/default_config.cf # /var/spool/ml/elena/config.cf # ); + my @argv = @ARGV; # save the original arguments my @cf = (); my %options = (); my $my_default_config = ''; @@ -115,6 +116,10 @@ sub Bootstrap cf_list => \@cf, options => \%options, + + # pass the original information to each process + argv => \@argv, + ARGV => \@ARGV, }; # See libexec/process_switch on ProcessSwitch() |
