diff options
author | Christopher Faylor <me@cgf.cx> | 2003-10-17 17:19:31 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-10-17 17:19:31 +0000 |
commit | fa10472e4a49b10361b85736b8d8c75895db4edb (patch) | |
tree | 910c4c4e72b02f152bbe781a4f7e11547d2fbe15 /winsup/utils/cygcheck.cc | |
parent | 5320b93f4e567564f90ec0eb8f30227b15e65ebd (diff) | |
download | cygnal-fa10472e4a49b10361b85736b8d8c75895db4edb.tar.gz cygnal-fa10472e4a49b10361b85736b8d8c75895db4edb.tar.bz2 cygnal-fa10472e4a49b10361b85736b8d8c75895db4edb.zip |
* 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.cc | 5 |
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"); |