Commit ac94cd95 authored by Leigh Stoller's avatar Leigh Stoller

Fix typo that was causing images to both shared and global.

parent 73acc5e2
......@@ -3783,7 +3783,7 @@ sub CreateImage($)
# Since this is a new image, be sure to set the shared flag
# if we did not get a global directive above, and the image
# is not global by inheritance.
if ($image->global()) {
if (!$image->global()) {
$image->Update({"shared" => 1});
}
}
......
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