From 0cacdfaf886a22056ccb37cc9394e246f2c94d38 Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Sun, 24 Aug 2014 17:15:24 +0000 Subject: [PATCH] Fix reversed logic. ok schwarze@ --- etc/rc.d/rc.subr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/rc.d/rc.subr b/etc/rc.d/rc.subr index 43a41ebfd4a..fc6491bf9d8 100644 --- a/etc/rc.d/rc.subr +++ b/etc/rc.d/rc.subr @@ -1,4 +1,4 @@ -# $OpenBSD: rc.subr,v 1.86 2014/08/24 13:32:53 ajacoutot Exp $ +# $OpenBSD: rc.subr,v 1.87 2014/08/24 17:15:24 ajacoutot Exp $ # # Copyright (c) 2010, 2011, 2014 Antoine Jacoutot # Copyright (c) 2010, 2011 Ingo Schwarze @@ -279,7 +279,7 @@ getcap -f /etc/login.conf ${_name} 1>/dev/null 2>&1 && \ if [ -n "${_RC_DEBUG}" ]; then echo -n "${_name}_flags " - [ -n "${_rcflags}" ] && echo -n "empty, using default " + [ -n "${_rcflags}" ] || echo -n "empty, using default " echo ">${daemon_flags}<" fi -- 2.20.1