Blame SOURCES/0009-Don-t-be-verbose-if-you-are-not-on-a-tty.patch

9bbebd
From 8af697659bd662517571577bf47946a2113f34a1 Mon Sep 17 00:00:00 2001
9bbebd
From: Dan Walsh <dwalsh@redhat.com>
9bbebd
Date: Fri, 14 Feb 2014 12:32:12 -0500
9bbebd
Subject: [PATCH] Don't be verbose if you are not on a tty
9bbebd
9bbebd
---
9bbebd
 policycoreutils/scripts/fixfiles | 1 +
9bbebd
 1 file changed, 1 insertion(+)
9bbebd
9bbebd
diff --git a/policycoreutils/scripts/fixfiles b/policycoreutils/scripts/fixfiles
9bbebd
index b2779581..53d28c7b 100755
9bbebd
--- a/policycoreutils/scripts/fixfiles
9bbebd
+++ b/policycoreutils/scripts/fixfiles
9bbebd
@@ -108,6 +108,7 @@ exclude_dirs_from_relabelling() {
9bbebd
 fullFlag=0
9bbebd
 BOOTTIME=""
9bbebd
 VERBOSE="-p"
9bbebd
+[ -t 1 ] || VERBOSE=""
9bbebd
 FORCEFLAG=""
9bbebd
 RPMFILES=""
9bbebd
 PREFC=""
9bbebd
-- 
9bbebd
2.21.0
9bbebd