summaryrefslogtreecommitdiff
path: root/fml/libexec
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-02-12 13:35:17 +0000
committerfukachan <fukachan>2001-02-12 13:35:17 +0000
commit761844e0279ee614f709d3df8135f3c3e5afc5ff (patch)
tree905075c518dbcc3932cf2f36aad7a1c5b85eca2b /fml/libexec
parentace4941b4c7f66f7c83ec21ce19e02df3f96c858 (diff)
downloadfml8-761844e0279ee614f709d3df8135f3c3e5afc5ff.tar.gz
fml8-761844e0279ee614f709d3df8135f3c3e5afc5ff.tar.bz2
fml8-761844e0279ee614f709d3df8135f3c3e5afc5ff.zip
add command prototype
Diffstat (limited to 'fml/libexec')
-rwxr-xr-xfml/libexec/process_switch8
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';
}