diff options
| author | fukachan <fukachan> | 2001-02-12 13:35:17 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2001-02-12 13:35:17 +0000 |
| commit | 761844e0279ee614f709d3df8135f3c3e5afc5ff (patch) | |
| tree | 905075c518dbcc3932cf2f36aad7a1c5b85eca2b /fml/libexec | |
| parent | ace4941b4c7f66f7c83ec21ce19e02df3f96c858 (diff) | |
| download | fml8-761844e0279ee614f709d3df8135f3c3e5afc5ff.tar.gz fml8-761844e0279ee614f709d3df8135f3c3e5afc5ff.tar.bz2 fml8-761844e0279ee614f709d3df8135f3c3e5afc5ff.zip | |
add command prototype
Diffstat (limited to 'fml/libexec')
| -rwxr-xr-x | fml/libexec/process_switch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fml/libexec/process_switch b/fml/libexec/process_switch index ef48015f..e07fb4c7 100755 --- a/fml/libexec/process_switch +++ b/fml/libexec/process_switch @@ -50,13 +50,13 @@ sub _module_we_use my $name = $args->{ myname }; my $pkg = ''; - if ($name eq 'fml.pl' || $name eq 'distribute' || $name eq 'loader') { - $pkg = 'FML::Process::Distribute'; - } - elsif (( $name eq 'fml.pl' && $args->{ options }->{ ctladdr }) || + if (($name eq 'fml.pl' && $args->{ options }->{ ctladdr }) || $name eq 'command') { $pkg = 'FML::Process::Command'; } + elsif ($name eq 'fml.pl' || $name eq 'distribute' || $name eq 'loader') { + $pkg = 'FML::Process::Distribute'; + } elsif ($name eq 'fmlserv') { $pkg = 'FML::Process::ListServer'; } |
