~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to lib/mnesia_session/src/mnesia_session_top_sup.erl

  • Committer: Bazaar Package Importer
  • Author(s): Erlang Packagers, Sergei Golovan
  • Date: 2006-12-03 17:07:44 UTC
  • mfrom: (2.1.11 feisty)
  • Revision ID: james.westby@ubuntu.com-20061203170744-rghjwupacqlzs6kv
Tags: 1:11.b.2-4
[ Sergei Golovan ]
Fixed erlang-base and erlang-base-hipe prerm scripts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
    SupName = {local,?MODULE},
54
54
    supervisor:start_link(SupName, ?MODULE, []).
55
55
 
56
 
stop(StartArgs) ->
 
56
stop(_StartArgs) ->
57
57
    ok.
58
58
 
59
59
init([]) -> % Supervisor
64
64
    {error, {badarg, BadArg}}.
65
65
 
66
66
init() ->
67
 
    Debug = mnesia_session_lib:get_initial_debug(),
 
67
    mnesia_session_lib:get_initial_debug(),
68
68
    Flags = {one_for_one, 4, 3600},
69
69
    KillAfter = timer:seconds(1),
70
70
    KA = supervisor_timeout(KillAfter),