Use rm -f instead of checking for /var/spool/lock/sympa existence.
From rpe, ok ajacoutot@
This commit is contained in:
parent
fe0795a3b9
commit
6b702d2f1c
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.22 2012/08/06 10:43:45 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.23 2012/08/26 20:35:22 landry Exp $
|
||||
|
||||
COMMENT = mailing list manager with web interface
|
||||
|
||||
VERSION = 6.1.7
|
||||
DISTNAME = sympa-${VERSION}
|
||||
REVISION = 2
|
||||
REVISION = 3
|
||||
|
||||
CATEGORIES = mail www
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: sympa.rc,v 1.5 2011/07/06 17:11:03 ajacoutot Exp $
|
||||
# $OpenBSD: sympa.rc,v 1.6 2012/08/26 20:35:22 landry Exp $
|
||||
|
||||
daemon="${TRUEPREFIX}/sbin/sympa"
|
||||
|
||||
@ -9,8 +9,7 @@ daemon="${TRUEPREFIX}/sbin/sympa"
|
||||
rc_reload=NO
|
||||
|
||||
rc_start() {
|
||||
[ -f /var/spool/lock/sympa ] && \
|
||||
rm /var/spool/lock/sympa
|
||||
rm -f /var/spool/lock/sympa
|
||||
${rcexec} "${daemon} start"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user