diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2011-08-08 16:49:45 +0100 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2011-08-08 16:49:45 +0100 |
| commit | 68e1af754a89c1a7ae93c36c0828198564649c1f (patch) | |
| tree | cf3631503658aac51eaf0b8dd7a0c3a5398b2302 /src | |
| parent | e15c6d91696f4935c572bbea953dd5c7e8ae74c9 (diff) | |
| download | rabbitmq-server-git-68e1af754a89c1a7ae93c36c0828198564649c1f.tar.gz | |
Exit differently.
Diffstat (limited to 'src')
| -rw-r--r-- | src/mirrored_supervisor.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mirrored_supervisor.erl b/src/mirrored_supervisor.erl index 5d4e195bb3..bd32a6fd49 100644 --- a/src/mirrored_supervisor.erl +++ b/src/mirrored_supervisor.erl @@ -235,7 +235,7 @@ start_link({local, SupName}, Group, Mod, Args) -> start_link0([{local, SupName}], Group, Mod, Args); start_link({global, _SupName}, _Group, _Mod, _Args) -> - exit(mirrored_supervisors_must_not_be_globally_named). + error(badarg). start_link0(Prefix, Group, Mod, Args) -> case apply(?SUPERVISOR, start_link, |
