diff options
author | Frederic Culot <calcurse@culot.org> | 2009-07-26 12:47:15 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2009-07-26 12:47:15 +0000 |
commit | 3d23af73c0032ad08766d2375fd9827493a7d658 (patch) | |
tree | 695d9d0890fba0d1b4b9763289b4d20345537aa3 /src/utils.c | |
parent | aef6f012fe2904dcedf47b3bf9a36366841e49a2 (diff) | |
download | calcurse-3d23af73c0032ad08766d2375fd9827493a7d658.zip |
More work on implementing calcurse daemon.
Diffstat (limited to 'src/utils.c')
-rwxr-xr-x | src/utils.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/utils.c b/src/utils.c index 9e4da1d..e825196 100755 --- a/src/utils.c +++ b/src/utils.c @@ -1,4 +1,4 @@ -/* $calcurse: utils.c,v 1.78 2009/07/23 18:33:21 culot Exp $ */ +/* $calcurse: utils.c,v 1.79 2009/07/26 12:47:16 culot Exp $ */ /* * Calcurse - text-based organizer @@ -94,7 +94,11 @@ exit_calcurse (int status) keys_free (); mem_stats (); if (remove_lock) - io_unset_lock (); + { + if (unlink (path_cpid) != 0) + EXIT (_("Could not remove calcurse lock file: %s\n"), + strerror (errno)); + } dmon_start (status); |