Browse Source

no double negatives in error message; ok aja@

OPENBSD_5_4
otto 11 years ago
parent
commit
0128b80ac5
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/rc.d/rc.subr

+ 2
- 2
src/etc/rc.d/rc.subr View File

@ -1,4 +1,4 @@
# $OpenBSD: rc.subr,v 1.69 2013/04/04 06:50:44 zhuk Exp $
# $OpenBSD: rc.subr,v 1.70 2013/07/11 09:34:33 otto Exp $
# #
# Copyright (c) 2010, 2011 Antoine Jacoutot <ajacoutot@openbsd.org> # Copyright (c) 2010, 2011 Antoine Jacoutot <ajacoutot@openbsd.org>
# Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org> # Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org>
@ -131,7 +131,7 @@ rc_cmd() {
;; ;;
start) start)
if [ X"${daemon_flags}" = X"NO" ]; then if [ X"${daemon_flags}" = X"NO" ]; then
rc_err "$0: no $1 without -f, ${_name}_flags=NO"
rc_err "$0: need -f to force $1 since ${_name}_flags=NO"
exit 1 exit 1
fi fi
[ -z "${INRC}" ] && rc_do rc_check && exit 0 [ -z "${INRC}" ] && rc_do rc_check && exit 0


Loading…
Cancel
Save