From: Gunter Knauf Date: Sat, 20 Jun 2009 10:19:49 +0000 (+0000) Subject: avoid pressanykey() call when curl finishes and was launched from bash. X-Git-Tag: curl-7_19_6~99 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9b8e56c97ce50073349fcae623d4fadde35f54fb;p=curl avoid pressanykey() call when curl finishes and was launched from bash. --- 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);