Группа :: Коммуникации
Пакет: iaxmodem
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: iaxmodem.pidfile.patch
Скачать
Скачать
--- ./iaxmodem.c.orig 2006-07-31 23:29:29 +0400
+++ ./iaxmodem.c 2006-10-27 10:09:40 +0400
@@ -1354,7 +1354,7 @@
}
/* Write pid to pidfile */
- pidfile = fopen("/var/run/iaxmodem.pid", "w");
+ pidfile = fopen("/var/run/iaxmodem/iaxmodem.pid", "w");
if (pidfile == NULL) {
printlog(LOG_ERROR, "Fatal error: could not open pidfile /var/run/iaxmodem.pid: %s\n", strerror(errno));
exit(-1);