summaryrefslogtreecommitdiff
path: root/rc/bin/inst/mainloop
blob: 7c0851a513e23ffd0a62c33f551016d06c9d78bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/rc

cd /bin/inst
. ./defs
fn sigint { }

coherence

# we run this while() here so that ctl-d won''t exit from us -- it''ll only exit main!
# main contains a while() loop too, to avoid the hit of 
# continually reexecing from here.

while()
	./main