repo.or.cz
/
Samba.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ctdb-daemon: Store tdb flags just after tdb is opened in ctdb_local_attach()
[Samba.git]
/
testprogs
/
blackbox
/
tfork.sh
blob
0f75a8c6aa39196c939149469ab2208ab39b41f1
1
#!/bin/sh
2
3
sleep
1
4
5
echo
stdout
>&
1
6
echo
$1
>&
1
7
echo
stderror
>&
2
8
9
# close stdout and stderror, but don't exit yet
10
exec
1
>&-
11
exec
2
>&-
12
13
sleep
1
14
15
exit
0