Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > c4201dcb4458e8d1d4c3554e8d9b1456 > files > 10

chkconfig-1.3.37-1mdv2009.0.src.rpm

--- chkconfig.c2	Thu Sep 14 15:58:14 2000
+++ chkconfig.c	Thu Sep 14 15:58:09 2000
@@ -315,6 +315,9 @@
 	int method = GetInstallMethod();
 	int level= GetSecureLevel();
 
+	if (!(!name || !*name || poptGetArg(optCon)))
+		delService(name);
+
 	if (!name || !*name || poptGetArg(optCon)) 
 	    usage();