22
0
Fork 0

ajout de logname(1)

This commit is contained in:
jlecour 2017-09-06 10:18:04 +02:00
parent 7758f120e8
commit 27aa914069
1 changed files with 2 additions and 2 deletions

View File

@ -64,11 +64,11 @@ now () {
} }
log_disable () { log_disable () {
echo "$(now) - alerts disabled" >> $1 echo "$(now) - alerts disabled by $(logname)" >> $1
} }
log_enable () { log_enable () {
echo "$(now) - alerts enabled" >> $1 echo "$(now) - alerts enabled by $(logname)">> $1
} }
main () { main () {