Browse Source

Replace SCREEN_LOGDIR with LOGDIR

SCREEN_LOGDIR already been deprecated. This patch move to use
LOGDIR instead.

Change-Id: Ie2323412708efd523d934690b5516d635b008fb2
changes/14/507014/1
ricolin 4 years ago
parent
commit
05ea6dfa54
  1. 4
      bin/heat-keystone-setup

4
bin/heat-keystone-setup

@ -38,8 +38,8 @@ function err() {
set +o xtrace
local msg="[ERROR] ${BASH_SOURCE[2]}:$1 $2"
echo $msg 1>&2;
if [[ -n ${SCREEN_LOGDIR} ]]; then
echo $msg >> "${SCREEN_LOGDIR}/error.log"
if [[ -n ${LOGDIR} ]]; then
echo $msg >> "${LOGDIR}/error.log"
fi
$errXTRACE
return $exitcode

Loading…
Cancel
Save