fix bad looping condition in e_start

SVN revision: 26918
This commit is contained in:
Carsten Haitzler 2006-11-03 11:52:27 +00:00
parent 2f6c190e36
commit c51f55184c
1 changed files with 2 additions and 2 deletions

View File

@ -268,9 +268,9 @@ precache(void)
else
snprintf(buf, sizeof(buf), "/tmp/.e-precache");
f = fopen(buf, "r");
if (!f) return;
if (!f) exit(0);
unlink(buf);
if (fork()) return;
if (fork()) exit(0);
while (fgets(buf, sizeof(buf), f));
rewind(f);
while (fgets(buf, sizeof(buf), f))