Re: [PATCH] fsck.btrfs: Fix bashism and bad getopts processing

2015-05-25 Thread David Sterba
On Thu, May 21, 2015 at 01:50:55PM +0100, Dimitri John Ledkov wrote: > First fix == bashism, as that is not accepted by e.g. Debian/Ubuntu > dash. > > Secondly shift OPTIND, such that last parameter is checked to exist. > > Signed-off-by: Dimitri John Ledkov > --- > fsck.btrfs | 3 ++- > 1 file

Re: [PATCH] fsck.btrfs: Fix bashism and bad getopts processing

2015-05-21 Thread David Sterba
On Thu, May 21, 2015 at 01:50:55PM +0100, Dimitri John Ledkov wrote: > First fix == bashism, as that is not accepted by e.g. Debian/Ubuntu > dash. > > Secondly shift OPTIND, such that last parameter is checked to exist. > > Signed-off-by: Dimitri John Ledkov Applied, thanks. -- To unsubscribe f

[PATCH] fsck.btrfs: Fix bashism and bad getopts processing

2015-05-21 Thread Dimitri John Ledkov
First fix == bashism, as that is not accepted by e.g. Debian/Ubuntu dash. Secondly shift OPTIND, such that last parameter is checked to exist. Signed-off-by: Dimitri John Ledkov --- fsck.btrfs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fsck.btrfs b/fsck.btrfs index f0