> Declan Moriarty wrote:
> > startx > somefile 2>&1  && init 3
> && init 3 didn't recover me - I missed the redirect when I scanned
> this mail before.. I'll try the redirect and || momentarily and post
> my results (I think || has more chance of recovering than && by the
> way: it will execute init if startx crashes, whereas && will only run
> init if Xorg exits with no error).

Why not just use

startx >somefile 2>&1 ; init 3

The ";" means that the second command will always be executed after the
first, regardless of the first's exit status.




                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to