Commit 496af91
authored
fix(qemu): skip empty QEMU_NET_CIDR instead of erroring (#2568)
os.LookupEnv returns ok=true for an empty string. When QEMU_NET_CIDR
is set to "" (e.g., via a build system that always sets the env var
with a default empty value), the validator rejects it as "empty CIDR"
and the build fails. Skip silently when the value is empty.
Signed-off-by: jmeridth <jmeridth@gmail.com>1 parent 65ed1ab commit 496af91
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
806 | 806 | | |
807 | 807 | | |
808 | 808 | | |
809 | | - | |
| 809 | + | |
810 | 810 | | |
811 | 811 | | |
812 | 812 | | |
| |||
0 commit comments