log error code

This commit is contained in:
Serghey Rodin 2014-03-23 18:48:33 +02:00
commit fded642185

View file

@ -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
}