etc-git: Clean all tmpfiles

This commit is contained in:
Benoît S. 2019-08-14 09:35:05 +02:00 committed by Benoît S
parent 9a18ca9c13
commit 0a7c0b582e

View file

@ -13,7 +13,7 @@ lastTime=7
uidRange="2000-2099"
# Remove temporary files on exit
trap "rm $lastLogOutput" EXIT
trap "rm $lastLogOutput $template $body $gitOutput" EXIT
# Get last admins connected
lastlog -t $lastTime -u $uidRange > $lastLogOutput