summaryrefslogtreecommitdiff
path: root/fml/libexec/process_switch
diff options
context:
space:
mode:
Diffstat (limited to 'fml/libexec/process_switch')
-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';
}