fix deactivate return code

This commit is contained in:
neil 2016-09-24 14:17:04 +08:00
parent 0407c4e0f7
commit 86c017ec9d

View File

@ -2863,7 +2863,9 @@ deactivate() {
if [ -z "$_d_dm" ] || [ "$_d_dm" = "$NO_VALUE" ] ; then
continue
fi
_deactivate "$_d_dm" $_d_type
if ! _deactivate "$_d_dm" $_d_type ; then
return 1
fi
done
}