rpms/rhgb/devel rhgb-0.17.7-no-inittab.patch,NONE,1.1
Casey Dahlin (sadmac)
fedora-extras-commits at redhat.com
Mon Mar 17 16:54:41 UTC 2008
Author: sadmac
Update of /cvs/pkgs/rpms/rhgb/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22763
Added Files:
rhgb-0.17.7-no-inittab.patch
Log Message:
added no-inittab patch
rhgb-0.17.7-no-inittab.patch:
--- NEW FILE rhgb-0.17.7-no-inittab.patch ---
diff --git a/src/main.c b/src/main.c
index ce06c7c..77a5ed5 100644
--- a/src/main.c
+++ b/src/main.c
@@ -313,6 +313,7 @@ check_for_run (void)
if (rc >= 0) return rc;
if (!rhgb_found) return 1;
+#if 0
/* Check that the default runlevel is 5 */
g_file_get_contents("/etc/inittab",&contents,&len, NULL);
if (!contents)
@@ -330,6 +331,7 @@ check_for_run (void)
}
g_free(contents);
g_strfreev(args);
+#endif
return rc;
}
More information about the fedora-extras-commits
mailing list