mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
refactoring: log_event(), is_format_valid()
This commit is contained in:
parent
6e0ef668bb
commit
e05dca61a6
211 changed files with 756 additions and 1091 deletions
|
@ -28,7 +28,7 @@ cd $tmpdir
|
|||
wget http://c.vestacp.com/$VERSION/rhel/templates.tar.gz -q
|
||||
if [ "$?" -ne 0 ]; then
|
||||
echo "Error: can't download template.tar.gz"
|
||||
log_event "$E_CONNECT" "$EVENT"
|
||||
log_event "$E_CONNECT" "$ARGUMENTS"
|
||||
rm -rf $tmpdir
|
||||
exit $E_CONNECT
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue