On Mon, Jun 23, 2008 at 03:52:55PM +0100, Reuben Thomas wrote: > On Mon, 23 Jun 2008, Filippo Giunchedi wrote: > >> This indeed does not fix the bug, however autossh exits 1 if the >> initial setup fails so testing it as autossh foo || echo "failed" would >> be sufficient. > > Since the problem I want to solve is with interactive use, this is fine, > but I would have to make another alias or script. Is thre some reason why > you can't just change the wrapper to print a message in this case?
I was more inclined to change autossh itself but changing the wrapper would work as well. filippo -- Filippo Giunchedi - http://esaurito.net PGP key: 0x6B79D401 random quote follows: Either this man is dead or my watch has stopped. -- Groucho Marx -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]