Don't kill sar prematurally in devstack-gate

This change ensure that 'sar' is not killed by stack.sh when USE_SCREEN=False

Fixes bug #1238482

Change-Id: Id354619a43c27eabbc57f61ba33be2a9493244aa
This commit is contained in:
Mehdi Abaakouk 2013-10-14 16:16:35 +02:00
parent 6d4a9a87b7
commit a20c620c7d

View File

@ -840,7 +840,7 @@ init_service_check
# If enabled, systat has to start early to track OpenStack service startup.
if is_service_enabled sysstat;then
if [[ -n ${SCREEN_LOGDIR} ]]; then
screen_it sysstat "sar -o $SCREEN_LOGDIR/$SYSSTAT_FILE $SYSSTAT_INTERVAL"
screen_it sysstat "cd ; sar -o $SCREEN_LOGDIR/$SYSSTAT_FILE $SYSSTAT_INTERVAL"
else
screen_it sysstat "sar $SYSSTAT_INTERVAL"
fi