From 761844e0279ee614f709d3df8135f3c3e5afc5ff Mon Sep 17 00:00:00 2001 From: fukachan Date: Mon, 12 Feb 2001 13:35:17 +0000 Subject: add command prototype --- fml/libexec/process_switch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'fml/libexec/process_switch') 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'; } -- cgit v1.2.1