diff options
author | 2014-08-17 14:41:03 +0000 | |
---|---|---|
committer | 2014-08-17 14:41:03 +0000 | |
commit | 30dbf0a06c29bdff22a756c7a168bd679d2d7417 (patch) | |
tree | 214c4dd0484def41b7a3289b34eb5e637770db53 | |
parent | Fix regression tests for ld.so (diff) | |
download | wireguard-openbsd-30dbf0a06c29bdff22a756c7a168bd679d2d7417.tar.xz wireguard-openbsd-30dbf0a06c29bdff22a756c7a168bd679d2d7417.zip |
When running interactively, display the output of the "check" action
(ok or failed) like we do with all other actions.
ok jung@ rpe@
-rw-r--r-- | etc/rc.d/rc.subr | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/rc.d/rc.subr b/etc/rc.d/rc.subr index 0147d18975a..bb67c73d68a 100644 --- a/etc/rc.d/rc.subr +++ b/etc/rc.d/rc.subr @@ -1,4 +1,4 @@ -# $OpenBSD: rc.subr,v 1.80 2014/08/11 20:24:57 ajacoutot Exp $ +# $OpenBSD: rc.subr,v 1.81 2014/08/17 14:41:03 ajacoutot Exp $ # # Copyright (c) 2010, 2011, 2014 Antoine Jacoutot <ajacoutot@openbsd.org> # Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org> @@ -191,7 +191,9 @@ rc_cmd() { case "$1" in check) - _rc_do rc_check + echo $_n "${INRC:+ }${_name}" + _rc_do rc_check && _rc_exit ok + _rc_exit failed ;; start) if [ X"${daemon_flags}" = X"NO" ]; then |