]> git.proxmox.com Git - mirror_corosync.git/commitdiff
Fix broken timers when release type set to RELEASE
authorSteven Dake <sdake@redhat.com>
Mon, 10 Jul 2006 23:51:43 +0000 (23:51 +0000)
committerSteven Dake <sdake@redhat.com>
Mon, 10 Jul 2006 23:51:43 +0000 (23:51 +0000)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1117 fd59a12c-fef9-0310-b244-a6a79926bd2f

exec/main.c

index a6c0a1acec9e0cd0f5d01c6216be6e040b439b65..cafe7ddbcee40b0c868bf71f5016e703ed1a5fc9 100644 (file)
@@ -375,6 +375,8 @@ int main (int argc, char **argv)
        int totem_log_service;
        log_init ("MAIN");
 
+       aisexec_tty_detach ();
+
        log_printf (LOG_LEVEL_NOTICE, "AIS Executive Service RELEASE '%s'\n", RELEASE_VERSION);
        log_printf (LOG_LEVEL_NOTICE, "Copyright (C) 2002-2006 MontaVista Software, Inc and contributors.\n");
        log_printf (LOG_LEVEL_NOTICE, "Copyright (C) 2006 Red Hat, Inc.\n");
@@ -554,8 +556,6 @@ int main (int argc, char **argv)
                gid_valid,
                &this_non_loopback_ip);
 
-       aisexec_tty_detach ();
-
        log_printf (LOG_LEVEL_NOTICE, "AIS Executive Service: started and ready to provide service.\n");
 
        /*