check_updates.sh: compter c’est pas facile

This commit is contained in:
Alarig Le Lay 2021-06-28 17:56:37 +02:00
parent 17a84e9e6e
commit 379e907cc5
No known key found for this signature in database
GPG Key ID: C865491BF197B54F
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ if [ "$(grep '\[ebuild U' ${TMP_FILE})" != '' ]; then
printf "\n" >> ${MAIL} printf "\n" >> ${MAIL}
cat ${TMP_FILE} >> ${MAIL} cat ${TMP_FILE} >> ${MAIL}
if [ "$(lsof -n | awk '{ if ($5 == "DEL") print $9 }' | sort -u)" ]; then if [ "$(lsof -n | awk '{ if ($6 == "DEL") print $9 }' | sort -u)" ]; then
restart-services --no-color >> ${MAIL} restart-services --no-color >> ${MAIL}
fi fi