From a20c620c7d323b8f489cb20ac64c7ab62c8bb213 Mon Sep 17 00:00:00 2001 From: Mehdi Abaakouk Date: Mon, 14 Oct 2013 16:16:35 +0200 Subject: [PATCH] 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 --- stack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack.sh b/stack.sh index aa0efea487..89a03b5a9b 100755 --- a/stack.sh +++ b/stack.sh @@ -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