[LTP] [PATCH 1/1] shell: Fix handling default parameters in tst_mkfs()

Petr Vorel pvorel@suse.cz
Thu Apr 4 16:30:47 CEST 2019


Hi Cyril,

> We can do the same thing twice as well, which may be a bit more
> readable:

> 	[ $# -ge 1 ] && shift
> 	[ $# -ge 1 ] && shift

Merged your variant. It's really more readable.
Thanks!

Kind regards,
Petr


More information about the ltp mailing list