aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2009-06-20 10:19:49 +0000
committerGunter Knauf <gk@gknw.de>2009-06-20 10:19:49 +0000
commit9b8e56c97ce50073349fcae623d4fadde35f54fb (patch)
treeecff7da689bc50ba9069b879f883836ba2d9431d
parentad1bfc54689060326c076bb7c18d805c955101b6 (diff)
avoid pressanykey() call when curl finishes and was launched from bash.
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
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);