Add test to avoid useless message

This commit is contained in:
Alarig Le Lay 2018-05-06 12:11:31 +02:00
parent 7f3d7e5158
commit 646f1390c1
1 changed files with 5 additions and 1 deletions

View File

@ -11,4 +11,8 @@ check_bin_in_path() {
check_bin_in_path "eix-sync emerge grep echo cat lsof awk sort"
check_bin_in_path "restart-services sendmail rm"
printf "Your missing this:${MISSING}\n"
if [ ! -z "${MISSING}" ]; then
printf "Your missing this:${MISSING}\n"
else
printf "All looks good\n"
fi