summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/package.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-12-17 02:46:04 +0000
committerjkh <jkh@FreeBSD.org>1999-12-17 02:46:04 +0000
commit38d1286e581917473f60cd947e43281e559fd94c (patch)
treebcf3f14373fab68c4b50c78d876b16c5865944cc /usr.sbin/sysinstall/package.c
parentb2296f0762c91f487672db3080e56267b120707f (diff)
downloadFreeBSD-src-38d1286e581917473f60cd947e43281e559fd94c.zip
FreeBSD-src-38d1286e581917473f60cd947e43281e559fd94c.tar.gz
In retrospect, msgNotify() should leave its contents on the screen
longer to give the user something to look at while things are happening. Change it to do so and insert the appropriate screen saves elsewhere.
Diffstat (limited to 'usr.sbin/sysinstall/package.c')
-rw-r--r--usr.sbin/sysinstall/package.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/package.c b/usr.sbin/sysinstall/package.c
index e11a2c7..4af188a 100644
--- a/usr.sbin/sysinstall/package.c
+++ b/usr.sbin/sysinstall/package.c
@@ -157,6 +157,7 @@ package_extract(Device *dev, char *name, Boolean depended)
if (fp) {
int i = 0, tot, pfd[2];
pid_t pid;
+ WINDOW *w = savescr();
sigpipe_caught = FALSE;
signal(SIGPIPE, catch_pipe);
@@ -176,7 +177,6 @@ package_extract(Device *dev, char *name, Boolean depended)
}
else {
char buf[BUFSIZ];
- WINDOW *w = savescr();
struct timeval start, stop;
close(pfd[0]);
OpenPOWER on IntegriCloud