* cygcheck.cc (pretty_id): Don't exec if `id' program is not found.
This commit is contained in:
@@ -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");
|
||||
|
||||
|
Reference in New Issue
Block a user