projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
install with -s
[unix-history]
/
usr
/
src
/
usr.bin
/
tee
/
tee.c
diff --git
a/usr/src/usr.bin/tee/tee.c
b/usr/src/usr.bin/tee/tee.c
index
d4b167f
..
0d3e9fa
100644
(file)
--- a/
usr/src/usr.bin/tee/tee.c
+++ b/
usr/src/usr.bin/tee/tee.c
@@
-1,5
+1,5
@@
#ifndef lint
#ifndef lint
-static char *sccsid = "@(#)tee.c 4.
3
(Berkeley) %G%";
+static char *sccsid = "@(#)tee.c 4.
4
(Berkeley) %G%";
#endif
/*
* tee-- pipe fitting
#endif
/*
* tee-- pipe fitting
@@
-72,7
+72,7
@@
char **argv;
r = 0;
if(w<=0) {
stash(p);
r = 0;
if(w<=0) {
stash(p);
-
return
;
+
exit(0)
;
}
}
out[p++] = in[r++];
}
}
out[p++] = in[r++];