ocf:alteeve:server: fix return code to match ocf standards

Resolves: https://github.com/ClusterLabs/anvil/issues/392

Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
main
Fabio M. Di Nitto 1 year ago
parent 1b4ac8ab56
commit f71b8dabf0
  1. 4
      ocf/alteeve/server

@ -342,9 +342,11 @@ elsif (($anvil->data->{switches}{help}) or ($anvil->data->{switches}{usage}))
} }
elsif ($anvil->data->{switches}{notify}) elsif ($anvil->data->{switches}{notify})
{ {
### NOTE: See issue 392 (https://github.com/ClusterLabs/anvil/issues/392) to explain why we switched
### the RC from 3 to 0.
# We don't implement this # We don't implement this
$anvil->Log->entry({source => $THIS_FILE, line => __LINE__, level =>0, key => "log_0301"}); $anvil->Log->entry({source => $THIS_FILE, line => __LINE__, level =>0, key => "log_0301"});
$anvil->nice_exit({exit_code => 3}); $anvil->nice_exit({exit_code => 0});
} }
else else
{ {

Loading…
Cancel
Save