From 377c85bbd7abb57f35eeb7687f3d679a05c006e9 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sun, 14 Aug 2022 21:26:40 +0200 Subject: [PATCH] Fixed chmodConfiguration to redirect chmod into null --- sos-git.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sos-git.sh b/sos-git.sh index 6768d46..14cab39 100755 --- a/sos-git.sh +++ b/sos-git.sh @@ -294,11 +294,11 @@ function checkFastSettings() { function chmodConfiguration() { chmod +x "$HOME/.sostools/git/sos-git.conf" &> /dev/null for file in $($SOSGIT_LS --color=never -w 1 "$HOME/.sostools/git/sos-git.conf.d"); do - chmod +x "$HOME/.sostools/git/sos-git.conf.d/$file" + chmod +x "$HOME/.sostools/git/sos-git.conf.d/$file" &> /dev/null done chmod +x "/etc/sostools/git/sos-git.conf" &> /dev/null for file in $($SOSGIT_LS --color=never -w 1 "/etc/sostools/git/sos-git.conf.d"); do - chmod +x "/etc/sostools/git/sos-git.conf.d/$file" + chmod +x "/etc/sostools/git/sos-git.conf.d/$file" &> /dev/null done } loadDefaultConfiguration