1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

avoid pressanykey() call when curl finishes and was launched from bash.

This commit is contained in:
Gunter Knauf 2009-06-20 10:19:49 +00:00
parent ad1bfc5468
commit 9b8e56c97c

View File

@ -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);