mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
log error code
This commit is contained in:
parent
b61b5b8dbf
commit
fded642185
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ log_event() {
|
|||
if [ "$1" -eq 0 ]; then
|
||||
echo "$2" >> $VESTA/log/system.log
|
||||
else
|
||||
echo "$2" >> $VESTA/log/error.log
|
||||
echo "$2 [Error $1]" >> $VESTA/log/error.log
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue