Commit d6c09993 authored by Leigh Stoller's avatar Leigh Stoller

Minor bug fix.

parent 268c55a3
......@@ -781,9 +781,9 @@ if (defined($target)) {
# that stuff here. Then it just calls create_image.
#
if ($target =~ /^.*@.*$/) {
system("$CREATEIMAGE -p $imagepid $imageid '$target'"); }
system("$CREATEIMAGE -p $imagepid $imagename '$target'"); }
else {
# Must be an imagename, not and imageid.
# Must be an imagename, not an imageid.
system("$CLONEIMAGE $imagename '$target'");
}
if ($?) {
......
Markdown is supported
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