Commit f7c59397 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Minor bug fix to deal with virt_nodes entries with null tarfiles/rpms.

parent a36e600d
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# #
# EMULAB-COPYRIGHT # EMULAB-COPYRIGHT
# Copyright (c) 2003, 2004, 2006, 2007 University of Utah and the Flux Group. # Copyright (c) 2003-2008 University of Utah and the Flux Group.
# All rights reserved. # All rights reserved.
# #
...@@ -140,6 +140,10 @@ while (my ($vname, $rpms, $tarfiles) = $result->fetchrow()) { ...@@ -140,6 +140,10 @@ while (my ($vname, $rpms, $tarfiles) = $result->fetchrow()) {
if (! defined($physnode)) { if (! defined($physnode)) {
$physnode = $experiment->VnameToPmap($vname); $physnode = $experiment->VnameToPmap($vname);
} }
$rpms = ""
if (!defined($rpms));
$tarfiles = ""
if (!defined($tarfiles));
# #
# Go through the list of RPMs looking for files to fetch # Go through the list of RPMs looking for files to fetch
......
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