mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 10:37:22 +00:00
create_pen_list: only print if values are set
On a failed download of the PEN list, the create_pen_list script improperly printed an invalid entry of { , "" } causing the build to fail. The last line print must check that it has something to print or it will print the wrong thing. Partially resolves ipmitool/ipmitool#11 Signed-off-by: Vernon Mauery <vernon.mauery@intel.com>
This commit is contained in:
parent
9fa01f1a54
commit
e65a96b38d
@ -67,7 +67,9 @@ parse_pen_list() {
|
||||
}
|
||||
|
||||
END {
|
||||
if(PEN) {
|
||||
print "{ " PEN ", \"" ENTERPRISE "\" },"
|
||||
}
|
||||
}'
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user