Репозитории ALT
S: | 1.3.59-alt4 |
5.1: | 1.3.29-alt2 |
4.1: | 1.3.29-alt2 |
4.0: | 1.3.29-alt2 |
3.0: | 1.2.24-alt5 |
+backports: | 1.3.29-alt0.M30.1 |
Группа :: Система/Настройка/Загрузка и инициализация
Пакет: chkconfig
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: chkconfig-1.2.24-alt-xinetd.patch
Скачать
Скачать
diff -ur chkconfig-1.2.24~/chkconfig.c chkconfig-1.2.24/chkconfig.c
--- chkconfig-1.2.24~/chkconfig.c Sat Jan 26 22:18:50 2002
+++ chkconfig-1.2.24/chkconfig.c Sat Jan 26 22:22:44 2002
@@ -206,13 +206,8 @@
closedir(dir);
- if (isXinetdEnabled()) {
+ if (isXinetdEnabled() && (dir = opendir(XINETDDIR))) {
printf(_("xinetd based services:\n"));
- if (!(dir = opendir(XINETDDIR))) {
- fprintf(stderr, _("failed to open directory %s: %s"),
- XINETDDIR, strerror(err));
- return 1;
- }
while ((ent = readdir(dir))) {
const char *dn;
struct service s;