mcstop+release.sh: Continue when releasing CPUs failed
Change-Id: Ib947843006ae9caa602e7b55309e68365edf4b2a
This commit is contained in:
committed by
Balazs Gerofi
parent
a563d780c1
commit
8ba725b225
@@ -92,8 +92,7 @@ fi
|
|||||||
cpus=`sudo ${SBINDIR}/ihkconfig 0 query cpu`
|
cpus=`sudo ${SBINDIR}/ihkconfig 0 query cpu`
|
||||||
if [ "${cpus}" != "" ]; then
|
if [ "${cpus}" != "" ]; then
|
||||||
if ! sudo ${SBINDIR}/ihkconfig 0 release cpu $cpus > /dev/null; then
|
if ! sudo ${SBINDIR}/ihkconfig 0 release cpu $cpus > /dev/null; then
|
||||||
echo "error: releasing CPUs" >&2
|
echo "warning: failed to release CPUs" >&2
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user