mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 18:49:17 -07:00
refactoring: log_event(), is_format_valid()
This commit is contained in:
parent
325ca65f32
commit
a61a6e979e
52 changed files with 582 additions and 1170 deletions
|
@ -25,10 +25,8 @@ source $VESTA/conf/vesta.conf
|
|||
|
||||
check_args '2' "$#" 'IP IP_NAME'
|
||||
is_format_valid 'ip'
|
||||
if [ ! -z "$ip_name" ]; then
|
||||
is_format_valid 'ip_name'
|
||||
fi
|
||||
is_ip_valid
|
||||
is_format_valid 'ip_name'
|
||||
is_ip_valid "$ip"
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue