This commit is contained in:
neilpang 2016-10-12 21:48:18 +08:00
parent b15cfc2c5a
commit 661f05837c

View File

@ -3965,13 +3965,15 @@ _process() {
if [ "${_CMD}" != "install" ] ; then if [ "${_CMD}" != "install" ] ; then
__initHome __initHome
if [ "$_log" ] && [ -z "$_logfile" ] ; then if [ "$_log" ]; then
if [ -z "$_logfile" ] ; then
_logfile="$DEFAULT_LOG_FILE" _logfile="$DEFAULT_LOG_FILE"
fi fi
fi
if [ "$_logfile" ] ; then if [ "$_logfile" ] ; then
_saveaccountconf "LOG_FILE" "$_logfile" _saveaccountconf "LOG_FILE" "$_logfile"
fi
LOG_FILE="$_logfile" LOG_FILE="$_logfile"
fi
if [ "$_log_level" ] ; then if [ "$_log_level" ] ; then
_saveaccountconf "LOG_LEVEL" "$_log_level" _saveaccountconf "LOG_LEVEL" "$_log_level"