HomeFreeBSD

Fix the error checking for the ubenv command. This moves the check for an

Description

Fix the error checking for the ubenv command. This moves the check for an
empty ldvar (which amounts to the varname string starting with '=') into
the if block that manipulates ldvar, which avoids later referencing ldvar
when it was never initialized.

Submitted by: Thomas Skibo
Pointy hat: ian

Details

Provenance
ianAuthored on
Parents
rS292887: sh: Split subevalvar() in #/##/%/%% and =/? parts.
Branches
Unknown
Tags
Unknown