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

Petr Vorel pvorel@suse.cz
Wed Mar 27 17:21:44 CET 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
I'd prefer my way, as this looks like entered twice by accident.
But you chose the variant :).

Kind regards,
Petr


More information about the ltp mailing list