ajout de logname(1)
This commit is contained in:
parent
7758f120e8
commit
27aa914069
|
@ -64,11 +64,11 @@ now () {
|
|||
}
|
||||
|
||||
log_disable () {
|
||||
echo "$(now) - alerts disabled" >> $1
|
||||
echo "$(now) - alerts disabled by $(logname)" >> $1
|
||||
}
|
||||
|
||||
log_enable () {
|
||||
echo "$(now) - alerts enabled" >> $1
|
||||
echo "$(now) - alerts enabled by $(logname)">> $1
|
||||
}
|
||||
|
||||
main () {
|
||||
|
|
Loading…
Reference in a new issue