* cygcheck.cc (pretty_id): Don't exec if `id' program is not found.

This commit is contained in:
Christopher Faylor
2003-10-17 17:19:31 +00:00
parent 5320b93f4e
commit fa10472e4a
4 changed files with 16 additions and 26 deletions

View File

@@ -780,10 +780,7 @@ pretty_id (const char *s, char *cygwin, size_t cyglen)
*p = '\\';
if (access (id, X_OK))
{
fprintf (stderr, "`id' program not found\n");
exit (1);
}
fprintf (stderr, "`id' program not found\n");
FILE *f = popen (id, "rt");