Skip to content

Commit

Permalink
added --quiet
Browse files Browse the repository at this point in the history
  • Loading branch information
Henri Wahl committed May 15, 2020
1 parent b784a74 commit 1f22dd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agents/plugins/yum
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ then
BOOT_REQUIRED="yes"
fi

UPDATES=$(waitmax 25 /usr/bin/yum -C --noplugins list updates | grep "\." | cut -d' ' -f1 | wc -l || echo "-1")
UPDATES=$(waitmax 25 /usr/bin/yum -C --noplugins --quiet list updates | grep "\." | cut -d' ' -f1 | wc -l || echo "-1")

echo $BOOT_REQUIRED
echo $UPDATES
Expand Down

0 comments on commit 1f22dd8

Please sign in to comment.