Skip to content

BF: fix argument parsing

Paul McCarthy requested to merge paulmc-master-patch-82198 into master

Reported here:;c858e06b.2112 and here:;495523a1.2210

I forgot to apply the fix after the first report.

Occasionally will be passed an empty string as an argument, which causes the -z "$2" test to return false. The test needs to check whether the $2 variable is set, as opposed to testing whether it is non-empty.

Merge request reports