marsadm: fix typo in pause_replay_local_res

This commit is contained in:
Thomas Schoebel-Theuer 2012-08-15 10:44:47 +02:00 committed by Thomas Schoebel-Theuer
parent 74f9a8fd85
commit 0ff5504db1

View File

@ -674,7 +674,7 @@ sub pause_replay_res {
sub pause_replay_local_res {
my ($cmd, $res) = @_;
my $pause = ($cmd eq "pause-sync-local");
my $pause = ($cmd eq "pause-replay-local");
my $path = "$mars/resource-$res/todo-$host/allow-replay";
_switch($cmd, $res, $path, !$pause);
}