aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2009-06-21 18:54:11 +0000
committerFrederic Culot <calcurse@culot.org>2009-06-21 18:54:11 +0000
commit9b1a006678f5be46f762c79f27d2a1e77e41306b (patch)
treec675dc611dbd36795564c4f7551c51c69d4b985c
parent627fd8a8aa380c3343800012c58ff0431c566614 (diff)
downloadcalcurse-9b1a006678f5be46f762c79f27d2a1e77e41306b.tar.gz
calcurse-9b1a006678f5be46f762c79f27d2a1e77e41306b.zip
Exit directly to avoid lock removal by another instance
-rwxr-xr-xsrc/io.c4
1 files changed, 2 insertions, 2 deletions
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
{