mirror of
https://github.com/schoebel/mars
synced 2025-02-07 15:52:02 +00:00
marsadm: abort 'primary' operation upon errors
This commit is contained in:
parent
2ab837cf09
commit
cacea6d673
@ -1293,6 +1293,7 @@ sub primary_phase4 {
|
||||
while (! -e $dev) {
|
||||
my $text = get_error_text($cmd, $res);
|
||||
lprint $text if $text;
|
||||
ldie "aborting due to errors\n" if $text =~ m/error/mi;
|
||||
lprint "device '$dev' not yet present\n";
|
||||
sleep_timeout($backoff);
|
||||
# very slowly increasing backoff
|
||||
|
Loading…
Reference in New Issue
Block a user