From fa10472e4a49b10361b85736b8d8c75895db4edb Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 17 Oct 2003 17:19:31 +0000 Subject: * cygcheck.cc (pretty_id): Don't exec if `id' program is not found. --- winsup/utils/cygcheck.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'winsup/utils/cygcheck.cc') 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"); -- cgit v1.2.3