mirror of
https://github.com/schoebel/mars
synced 2024-12-16 19:55:34 +00:00
marsadm: fix typo in pause_replay_local_res
This commit is contained in:
parent
74f9a8fd85
commit
0ff5504db1
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user