Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-10-17 21:19:31 +0400
committerChristopher Faylor <me@cgf.cx>2003-10-17 21:19:31 +0400
commitfa10472e4a49b10361b85736b8d8c75895db4edb (patch)
tree910c4c4e72b02f152bbe781a4f7e11547d2fbe15 /winsup/utils/cygcheck.cc
parent5320b93f4e567564f90ec0eb8f30227b15e65ebd (diff)
* cygcheck.cc (pretty_id): Don't exec if `id' program is not found.
Diffstat (limited to 'winsup/utils/cygcheck.cc')
-rw-r--r--winsup/utils/cygcheck.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/winsup/utils/cygcheck.cc b/winsup/utils/cygcheck.cc
index 91eb6da49..7adc4c1ec 100644
--- a/winsup/utils/cygcheck.cc
+++ b/winsup/utils/cygcheck.cc
@@ -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");