marsadm: command down includes disconnect

Fixes the following bug:
marsadm down does not disconnect the resource.
This commit is contained in:
Frank Liepold 2013-07-29 16:30:10 +02:00
parent e3db28c4d7
commit 820708e712
1 changed files with 1 additions and 0 deletions

View File

@ -1246,6 +1246,7 @@ sub up_res_phase1 {
if ($down) {
pause_replay_local_res("pause-replay-local", $res);
pause_sync_local_res("pause-sync-local", $res);
connect_local_res("disconnect", $res);
attach_res_phase1("detach", $res);
} else {
attach_res_phase1("attach", $res);