Print this page
12721 would like svcadm disable -c

@@ -19,11 +19,11 @@
  * CDDL HEADER END
  */
 
 /*
  * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
- * Copyright 2019 Joyent, Inc.
+ * Copyright 2020 Joyent, Inc.
  * Copyright 2012 Milan Jurik. All rights reserved.
  * Copyright 2017 RackTop Systems.
  * Copyright 2018 OmniOS Community Edition (OmniOSce) Association.
  */
 

@@ -10520,10 +10520,12 @@
                 if (scf_property_get_name(exp_prop, exp_str, exp_str_sz) < 0)
                         scfdie();
 
                 if (strcmp(exp_str, scf_property_enabled) == 0) {
                         continue;
+                } else if (strcmp(exp_str, SCF_PROPERTY_COMMENT) == 0) {
+                        continue;
                 } else if (strcmp(exp_str, SCF_PROPERTY_RESTARTER) == 0) {
                         xmlNodePtr rnode, sfnode;
 
                         rnode = xmlNewNode(NULL, (xmlChar *)"restarter");
                         if (rnode == NULL)