Output only errors

This commit is contained in:
OBJNULL 2026-05-09 22:44:13 -05:00
parent a1fdb6d7c5
commit e90182039f

View file

@ -53,7 +53,7 @@ function displayYesNo {
}
function displayCmd {
echo -e "- Running $(styleColor "green")$2$(styleColorRst)..."
$1 >> /tmp/objnull-dotfile-installer.log 2>&1
$1 2> /tmp/objnull-dotfile-installer.log
if [ $? -ne 0 ]; then
echo -e "\t---$(styleColor "red")Previous command failed!$(styleColorRst)---"