From 0bf9d151b45c013c482ad4f0884bd4b95e9a07c3 Mon Sep 17 00:00:00 2001 From: ngie Date: Tue, 14 Mar 2017 06:52:54 +0000 Subject: [PATCH] Redirect standard error from find /rescue to /dev/null This mutes noise from find when /rescue doesn't exist. MFC after: 1 week Sponsored by: Dell EMC Isilon --- tools/build/mk/OptionalObsoleteFiles.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc index 54e6ca16b2eb..7e959d0f5c14 100644 --- a/tools/build/mk/OptionalObsoleteFiles.inc +++ b/tools/build/mk/OptionalObsoleteFiles.inc @@ -7484,9 +7484,9 @@ OLD_FILES+=usr/share/man/man8/rwhod.8.gz .if ${MK_RESCUE} == no . if exists(${DESTDIR}${TESTSBASE}) -RESCUE_DIRS!=find ${DESTDIR}/rescue -type d | sed -e 's,^${DESTDIR}/,,'; echo +RESCUE_DIRS!=find ${DESTDIR}/rescue -type d 2>/dev/null | sed -e 's,^${DESTDIR}/,,'; echo OLD_DIRS+=${RESCUE_DIRS} -RESCUE_FILES!=find ${DESTDIR}/rescue \! -type d | sed -e 's,^${DESTDIR}/,,'; echo +RESCUE_FILES!=find ${DESTDIR}/rescue \! -type d 2>/dev/null | sed -e 's,^${DESTDIR}/,,'; echo OLD_FILES+=${RESCUE_FILES} . endif .endif