[packages/man-db] man-db cron should not exit with failure when cleaning up lock
glen
glen at pld-linux.org
Fri Nov 22 10:20:39 CET 2013
commit 54e8f08b2106f69de46ccd27ab5cda3041b128dc
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Nov 22 11:19:59 2013 +0200
man-db cron should not exit with failure when cleaning up lock
man-db.daily | 2 +-
man-db.spec | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/man-db.spec b/man-db.spec
index 6cd5858..8e0c911 100644
--- a/man-db.spec
+++ b/man-db.spec
@@ -2,7 +2,7 @@ Summary: Tools for searching and reading man pages
Summary(pl.UTF-8): Narzędzia do przeszukiwania i czytania stron podręcznika man
Name: man-db
Version: 2.6.5
-Release: 3
+Release: 4
# project man-db GPLv2+
# Gnulib part GPLv3+
License: GPL v2+ and GPL v3+
diff --git a/man-db.daily b/man-db.daily
index 726a8a9..0bc24e5 100644
--- a/man-db.daily
+++ b/man-db.daily
@@ -19,7 +19,7 @@ LOCKFILE=/var/lock/man-db.lock
# happen is that they will temporarily corrupt the database
[ -f $LOCKFILE ] && exit 0
-trap "{ rm -f $LOCKFILE ; exit 255; }" EXIT
+trap "{ rm -f $LOCKFILE ; exit 0; }" EXIT
touch $LOCKFILE
# create/update the mandb database
mandb $OPTS
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/man-db.git/commitdiff/54e8f08b2106f69de46ccd27ab5cda3041b128dc
More information about the pld-cvs-commit
mailing list