On Mon, Jun 23, 2008 at 07:28:16PM +0200, Filippo Giunchedi wrote:
> 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.

On a second thought I changed the wrapper to not alter autossh too much, I came
up with the following
http://svn.debian.org/wsvn/collab-maint/deb-maint/autossh/trunk/debian/autossh_wrapper?op=file&rev=0&sc=0

Even though I'm quite sure the odds to fail 42 random guesses are pretty low.
Would that work for you?

filippo
--
Filippo Giunchedi - http://esaurito.net
PGP key: 0x6B79D401
random quote follows:

Caelum, non animo mutant, qui trans mare currunt
Who crosses the sea changes the sky, not the soul.
-- Oratius



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to