aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/sysinstall/exec.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1994-10-26 05:41:02 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1994-10-26 05:41:02 +0000
commit281d3e3bd9232972fd02edb28edd8fb72f157c9f (patch)
tree391e5cfd047930c31cc618ed3345390d86a00d04 /sbin/sysinstall/exec.c
parent076bf3789eb4b70dfe4958a138bb7def607fc4ff (diff)
downloadsrc-281d3e3bd9232972fd02edb28edd8fb72f157c9f.tar.gz
src-281d3e3bd9232972fd02edb28edd8fb72f157c9f.zip
So there. Now we live on the hard-disk!
Notes
Notes: svn path=/head/; revision=3883
Diffstat (limited to 'sbin/sysinstall/exec.c')
-rw-r--r--sbin/sysinstall/exec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/sysinstall/exec.c b/sbin/sysinstall/exec.c
index b4d678005e57..cbe9b744af31 100644
--- a/sbin/sysinstall/exec.c
+++ b/sbin/sysinstall/exec.c
@@ -57,8 +57,9 @@ exec(int magic, char *cmd, char *args, ...)
close(2); open("/dev/null",O_WRONLY);
break;
case 1:
- break;
close(2); open("/dev/null",O_WRONLY);
+ break;
+ case 2:
default:
break;
}