diff options
author | Frederic Culot <calcurse@culot.org> | 2009-06-21 18:54:11 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2009-06-21 18:54:11 +0000 |
commit | 9b1a006678f5be46f762c79f27d2a1e77e41306b (patch) | |
tree | c675dc611dbd36795564c4f7551c51c69d4b985c | |
parent | 627fd8a8aa380c3343800012c58ff0431c566614 (diff) | |
download | calcurse-9b1a006678f5be46f762c79f27d2a1e77e41306b.zip |
Exit directly to avoid lock removal by another instance
-rwxr-xr-x | src/io.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 { |