croutonclip: Fix signal handling for bash 4.3
croutonclip: Fix signal handling for bash 4.3

Behaviour of read was changed in bash 4.3, and read does not get
interrupted by signals anymore (affects mostly arch, as trusty
uses dash by default).

Switch to using wait, since that gets interrupted, and we have
children in any case. Incidentally, this simplifies the code
quite a bit.

djmrr/crouton,taterbase/crouton,VandeurenGlenn/crouton,ikaritw/crouton,JDGBOLT/chroagh,armgong/chroagh,ikaritw/crouton,JDGBOLT/chroagh,JDGBOLT/chroagh,brayniac/crouton,tedm/crouton,fxcebx/crouton,tedm/crouton,zofuthan/crouton,Timvrakas/crouton,twmccart/crouton,mkasick/crouton,JDGBOLT/chroagh,StrawnPoint04/crouton,nromsdahl/crouton,armgong/chroagh,taterbase/crouton,stephen-soltesz/crouton,elkangaroo/chroagh,brayniac/crouton,fxcebx/crouton,DanDanBu/crouton,StrawnPoint04/crouton,stephen-soltesz/crouton,dragon788/chroagh,djmrr/crouton,Timvrakas/crouton,elkangaroo/chroagh,elkangaroo/chroagh,jamgregory/crouton,arbuztw/crouton,tedm/crouton,mkasick/crouton,mkasick/crouton,fxcebx/crouton,StrawnPoint04/crouton,djmrr/crouton,taterbase/crouton,dnschneid/crouton,tonyxue/cruise,zofuthan/crouton,Timvrakas/crouton,StrawnPoint04/crouton,rperce/chroagh,twmccart/crouton,DanDanBu/crouton,marriop/newCrouton,marriop/newCrouton,rperce/chroagh,zofuthan/crouton,brayniac/crouton,brayniac/crouton,twmccart/crouton,stephen-soltesz/crouton,JDGBOLT/chroagh,armgong/chroagh,taterbase/crouton,arbuztw/crouton,nromsdahl/crouton,rperce/chroagh,StrawnPoint04/crouton,rperce/chroagh,jamgregory/crouton,nromsdahl/crouton,djmrr/crouton,ikaritw/crouton,dragon788/chroagh,nromsdahl/crouton,nromsdahl/crouton,mkasick/crouton,tonyxue/cruise,dnschneid/crouton,stephen-soltesz/crouton,zofuthan/crouton,dnschneid/crouton,tonyxue/cruise,twmccart/crouton,DanDanBu/crouton,DanDanBu/crouton,dnschneid/crouton,mkasick/crouton,jamgregory/crouton,tedm/crouton,tonyxue/cruise,tedm/crouton,tonyxue/cruise,zofuthan/crouton,armgong/chroagh,ikaritw/crouton,marriop/newCrouton,ikaritw/crouton,ikaritw/crouton,StrawnPoint04/crouton,brayniac/crouton,armgong/chroagh,twmccart/crouton,tonyxue/cruise,elkangaroo/chroagh,arbuztw/crouton,VandeurenGlenn/crouton,dnschneid/crouton,VandeurenGlenn/crouton,djmrr/crouton,arbuztw/crouton,rperce/chroagh,VandeurenGlenn/crouton,twmccart/crouton,dragon788/chroagh,Timvrakas/crouton,taterbase/crouton,armgong/chroagh,Timvrakas/crouton,nromsdahl/crouton,dragon788/chroagh,dragon788/chroagh,mkasick/crouton,VandeurenGlenn/crouton,fxcebx/crouton,VandeurenGlenn/crouton,taterbase/crouton,fxcebx/crouton,elkangaroo/chroagh,arbuztw/crouton,zofuthan/crouton,dnschneid/crouton,jamgregory/crouton,djmrr/crouton,dragon788/chroagh,DanDanBu/crouton,rperce/chroagh,DanDanBu/crouton,fxcebx/crouton,stephen-soltesz/crouton,jamgregory/crouton,Timvrakas/crouton,brayniac/crouton,jamgregory/crouton,tedm/crouton,stephen-soltesz/crouton,elkangaroo/chroagh,JDGBOLT/chroagh,arbuztw/crouton