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
1 changed files with 2 additions and 1 deletions

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