diff options
author | Fan Chengniang <fancn.fnst@cn.fujitsu.com> | 2015-01-09 16:11:42 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2015-01-14 16:51:16 +0100 |
commit | 6eafa191c09f141831dcd77e7b9241d41fb35680 (patch) | |
tree | e8577886e922ffb70286b1f5fccb4207c41b545b /Documentation/btrfs-find-root.txt | |
parent | 27ceeed1a7b7fedcbe19180a22df334d9cfadcc2 (diff) |
btrfs-progs: btrfstune: fix multiple options error
when we use multiple options, error return status will be override by the
last option status.
example: btrfstune -S 1 -r /dev/loop0
when -S option fails and -r option succeeds, return value is 0, rather than
1, where 1 is the right return status.
Reported-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
Signed-off-by: Fan Chengniang <fancn.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'Documentation/btrfs-find-root.txt')
0 files changed, 0 insertions, 0 deletions