check_updates.sh: compter c’est pas facile
This commit is contained in:
parent
17a84e9e6e
commit
379e907cc5
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue