Use the right service name for tgt/tgtd in stop_cinder

Change-Id: I58cf8cdf88a3edebed729f4460e8ce222db3664d
This commit is contained in:
Vincent Untz 2012-12-13 08:59:57 +01:00
parent 1bd2a1b186
commit 90dd96d478

View File

@ -265,7 +265,11 @@ function stop_cinder() {
done
if is_service_enabled c-vol; then
if is_ubuntu; then
stop_service tgt
else
stop_service tgtd
fi
fi
}