Commit 9b68d9bd authored by Shashi Guruprasad's avatar Shashi Guruprasad
Browse files

Bugfix. osid not defined for all vnodes. So adding a check.

parent 1eb5bfd2
......@@ -3387,7 +3387,8 @@ sub CreateTopFile()
# via a user-specific FBSD image. Thats coz there is no
# way of determining if the FBSD image is actually running
# our kernel that can do veths
if (virtnodeosid($node) ne TBOSID(TB_OPSPID, "FBSD-STD")) {
if (defined(virtnodeosid($node)) &&
virtnodeosid($node) ne TBOSID(TB_OPSPID, "FBSD-STD")) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment