From 9b1a006678f5be46f762c79f27d2a1e77e41306b Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Sun, 21 Jun 2009 18:54:11 +0000 Subject: Exit directly to avoid lock removal by another instance --- src/io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/io.c') diff --git a/src/io.c b/src/io.c index bef5501..104cc3f 100755 --- a/src/io.c +++ b/src/io.c @@ -1,4 +1,4 @@ -/* $calcurse: io.c,v 1.60 2009/06/21 18:16:22 culot Exp $ */ +/* $calcurse: io.c,v 1.61 2009/06/21 18:54:11 culot Exp $ */ /* * Calcurse - text-based organizer @@ -2846,7 +2846,7 @@ io_set_lock (void) "If this is not the case, please remove the following " "lock file: \n\"%s\"\n" "and restart calcurse.\n"), path_lock); - exit_calcurse (EXIT_FAILURE); + exit (EXIT_FAILURE); } else { -- cgit v1.2.3-54-g00ecf