| commit | 6eafa191c09f141831dcd77e7b9241d41fb35680 | [log] [tgz] |
|---|---|---|
| author | Fan Chengniang <fancn.fnst@cn.fujitsu.com> | Fri Jan 09 16:11:42 2015 +0800 |
| committer | David Sterba <dsterba@suse.cz> | Wed Jan 14 16:51:16 2015 +0100 |
| tree | e8577886e922ffb70286b1f5fccb4207c41b545b | |
| 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>