mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-02 00:00:03 +03:00
Fix 'bcachefs fsck -y'
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
44fc32e7ef
commit
e8e60b982d
@ -45,10 +45,8 @@ int cmd_fsck(int argc, char *argv[])
|
|||||||
switch (opt) {
|
switch (opt) {
|
||||||
case 'a': /* outdated alias for -p */
|
case 'a': /* outdated alias for -p */
|
||||||
case 'p':
|
case 'p':
|
||||||
opt_set(opts, fix_errors, FSCK_FIX_yes);
|
|
||||||
break;
|
|
||||||
case 'y':
|
case 'y':
|
||||||
opt_set(opts, fix_errors, FSCK_FIX_no);
|
opt_set(opts, fix_errors, FSCK_FIX_yes);
|
||||||
break;
|
break;
|
||||||
case 'n':
|
case 'n':
|
||||||
opt_set(opts, nochanges, true);
|
opt_set(opts, nochanges, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user