]> granicus.if.org Git - curl/commitdiff
avoid pressanykey() call when curl finishes and was launched from bash.
authorGunter Knauf <gk@gknw.de>
Sat, 20 Jun 2009 10:19:49 +0000 (10:19 +0000)
committerGunter Knauf <gk@gknw.de>
Sat, 20 Jun 2009 10:19:49 +0000 (10:19 +0000)
src/main.c

index 3d8b54aba895341ef6fc3d5fa528dafa1ea95f0f..87674b83a49100603356c0e3540acf5f657f1edc 100644 (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);