New syntax to hide password from logger

This commit is contained in:
Serghey Rodin 2015-10-21 15:57:54 +03:00
parent a9cbdfe6ff
commit 6691ea2c8b
15 changed files with 57 additions and 115 deletions

View file

@ -13,7 +13,7 @@
user=$1
database=$2
dbuser="$user"_"$3"
password=$4
password=$4; HIDE=4
# Includes
source $VESTA/func/main.sh
@ -21,10 +21,6 @@ source $VESTA/func/db.sh
source $VESTA/func/rebuild.sh
source $VESTA/conf/vesta.conf
# Hiding password
A4='******'
EVENT="$DATE $TIME $SCRIPT $A1 $A2 $A3 $A4 $A5 $A6 $A7 $A8 $A9"
#----------------------------------------------------------#
# Verifications #