ctdb-daemon: Store tdb flags just after tdb is opened in ctdb_local_attach()
[Samba.git] / testprogs / blackbox / tfork.sh
blob0f75a8c6aa39196c939149469ab2208ab39b41f1
1 #!/bin/sh
3 sleep 1
5 echo stdout >&1
6 echo $1 >&1
7 echo stderror >&2
9 # close stdout and stderror, but don't exit yet
10 exec 1>&-
11 exec 2>&-
13 sleep 1
15 exit 0