Fixed chmodConfiguration to redirect chmod into null

This commit is contained in:
JeremyStarTM 2022-08-14 21:26:40 +02:00
parent 286c027b45
commit 377c85bbd7

View file

@ -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