fix deactivate return code

This commit is contained in:
neil 2016-09-24 14:17:04 +08:00
parent 0407c4e0f7
commit 86c017ec9d
1 changed files with 3 additions and 1 deletions

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
}