From 9b8e56c97ce50073349fcae623d4fadde35f54fb Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Sat, 20 Jun 2009 10:19:49 +0000 Subject: avoid pressanykey() call when curl finishes and was launched from bash. --- src/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 3d8b54aba..87674b83a 100644 --- a/src/main.c +++ b/src/main.c @@ -5220,7 +5220,8 @@ int main(int argc, char *argv[]) free_config_fields(&config); #ifdef __NOVELL_LIBC__ - pressanykey(); + if (getenv("_IN_NETWARE_BASH_") == NULL) + pressanykey(); #endif #ifdef __VMS vms_special_exit(res, vms_show); -- cgit v1.2.3