diff --git a/bin/nova-manage b/bin/nova-manage index d56b292f7fde..382260ca8f1c 100755 --- a/bin/nova-manage +++ b/bin/nova-manage @@ -1824,6 +1824,7 @@ class ImageCommands(object): return new except Exception as exc: print _("Failed to register %(path)s: %(exc)s") % locals() + sys.exit(1) @args('--image', dest='image', metavar='', help='Image') @args('--kernel', dest='kernel', metavar='', help='Kernel')