Merge "Already dead process tolerance in unstack.sh"

This commit is contained in:
Jenkins 2015-07-02 20:13:06 +00:00 committed by Gerrit Code Review
commit 52844a11dd
3 changed files with 3 additions and 3 deletions

View File

@ -1342,7 +1342,7 @@ function screen_stop_service {
if is_service_enabled $service; then
# Clean up the screen window
screen -S $SCREEN_NAME -p $service -X kill
screen -S $SCREEN_NAME -p $service -X kill || true
fi
}

View File

@ -42,7 +42,7 @@ function neutron_agent_lbaas_configure_agent {
function neutron_lbaas_stop {
pids=$(ps aux | awk '/haproxy/ { print $2 }')
[ ! -z "$pids" ] && sudo kill $pids
[ ! -z "$pids" ] && sudo kill $pids || true
}
# Restore xtrace

View File

@ -772,7 +772,7 @@ function stop_swift {
stop_process s-${type}
done
# Blast out any stragglers
pkill -f swift-
pkill -f swift- || true
}
function swift_configure_tempurls {