From dc46f267104e8dc4a272c3d0ae69fb1f7bab0b9e Mon Sep 17 00:00:00 2001 From: fukachan Date: Mon, 5 Feb 2001 04:44:49 +0000 Subject: pass the original @ARGV and it after getopts() to the main process --- fml/libexec/loader | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'fml/libexec/loader') 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() -- cgit v1.2.1