Print this page
usr/src/cmd/dlmgmtd/dlmgmt_door.c
*** 260,278 ****
* Skip over zones that have gone away or are going down
* since we got the list. Process all zones in the list,
* logging errors for any that failed.
*/
if (zone_getattr(zids[i], ZONE_ATTR_STATUS, &status,
! sizeof (status)) < 0)
continue;
switch (status) {
case ZONE_IS_SHUTTING_DOWN:
case ZONE_IS_EMPTY:
case ZONE_IS_DOWN:
case ZONE_IS_DYING:
case ZONE_IS_DEAD:
! /* FALLTHRU */
continue;
default:
break;
}
if ((res = dlmgmt_zone_init(zids[i])) != 0) {
--- 260,280 ----
* Skip over zones that have gone away or are going down
* since we got the list. Process all zones in the list,
* logging errors for any that failed.
*/
if (zone_getattr(zids[i], ZONE_ATTR_STATUS, &status,
! sizeof (status)) < 0) {
continue;
+ }
switch (status) {
case ZONE_IS_SHUTTING_DOWN:
case ZONE_IS_EMPTY:
case ZONE_IS_DOWN:
case ZONE_IS_DYING:
case ZONE_IS_DEAD:
! case ZONE_IS_INITIALIZED:
! case ZONE_IS_UNINITIALIZED:
continue;
default:
break;
}
if ((res = dlmgmt_zone_init(zids[i])) != 0) {