Skip to content

Commit 3a31abb

Browse files
committed
Don't allow to do error scrub with stop or pause
Signed-off-by: Mariusz Zaborski <[email protected]>
1 parent 01bc03a commit 3a31abb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/zpool/zpool_main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8525,7 +8525,9 @@ zpool_do_scrub(int argc, char **argv)
85258525
} scrub_exclusive_options[] = {
85268526
{&is_stop, &is_pause},
85278527
{&is_stop, &is_txg_continue},
8528+
{&is_stop, &is_error_scrub},
85288529
{&is_pause, &is_txg_continue},
8530+
{&is_pause, &is_error_scrub},
85298531
{&is_error_scrub, &is_txg_continue},
85308532
};
85318533

0 commit comments

Comments
 (0)