Commit d6c09993 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor bug fix.

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