policycoreutils/SOURCES/0004-Don-t-be-verbose-if-yo...

26 lines
673 B
Diff
Raw Normal View History

2024-04-30 15:50:28 +00:00
From 06c0d6d8f34becde1a8b4b2532e2a22abe9d4d94 Mon Sep 17 00:00:00 2001
2022-05-17 10:24:45 +00:00
From: Dan Walsh <dwalsh@redhat.com>
Date: Fri, 14 Feb 2014 12:32:12 -0500
Subject: [PATCH] Don't be verbose if you are not on a tty
2022-11-15 06:55:18 +00:00
Content-type: text/plain
2022-05-17 10:24:45 +00:00
---
policycoreutils/scripts/fixfiles | 1 +
1 file changed, 1 insertion(+)
diff --git a/policycoreutils/scripts/fixfiles b/policycoreutils/scripts/fixfiles
2023-05-09 05:40:53 +00:00
index 166af6f360a2..ebe64563c7d7 100755
2022-05-17 10:24:45 +00:00
--- a/policycoreutils/scripts/fixfiles
+++ b/policycoreutils/scripts/fixfiles
@@ -108,6 +108,7 @@ exclude_dirs_from_relabelling() {
fullFlag=0
BOOTTIME=""
VERBOSE="-p"
+[ -t 1 ] || VERBOSE=""
FORCEFLAG=""
2022-11-15 06:55:18 +00:00
THREADS=""
2022-05-17 10:24:45 +00:00
RPMFILES=""
--
2024-04-30 15:50:28 +00:00
2.41.0
2022-05-17 10:24:45 +00:00