projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
0ec7fe4
)
dfregress(8): Add some missing braces.
author
Sascha Wildner <saw@online.de>
Fri, 9 Dec 2011 18:05:33 +0000 (19:05 +0100)
committer
Sascha Wildner <saw@online.de>
Fri, 9 Dec 2011 18:05:33 +0000 (19:05 +0100)
usr.bin/dfregress/userland.c
patch
|
blob
|
blame
|
history
diff --git
a/usr.bin/dfregress/userland.c
b/usr.bin/dfregress/userland.c
index
5306757
..
96ff0cf
100644
(file)
--- a/
usr.bin/dfregress/userland.c
+++ b/
usr.bin/dfregress/userland.c
@@
-267,13
+267,15
@@
err_out:
if (pid != -1)
clean_child(pid);
- if (fd_stdout >= 0)
+ if (fd_stdout >= 0) {
close(fd_stdout);
unlink(stdout_file);
+ }
- if (fd_stderr >= 0)
+ if (fd_stderr >= 0) {
close(fd_stderr);
unlink(stderr_file);
+ }
return -1;
}