On Tue, Sep 18, 2007 at 05:22:14PM +0100, Reuben Thomas wrote: > Package: autossh > Version: 1.3-4 > Severity: wishlist > > autossh currently exits without an error if the tunnel cannot be > immediately opened. This is a bit confusing, since there's no obvious > difference between that and an invocation where it succeeds and > backgrounds itself (if using -f). I suggest that autossh should report > the error to the console in this case.
version >= 1.4 in debian include a wrapper for autossh that auto-select random tunnel ports. 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. filippo -- Filippo Giunchedi - http://esaurito.net PGP key: 0x6B79D401 random quote follows: Age is not a particularly interesting subject. Anyone can get old. All you have to do is live long enough. -- Groucho Marx -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]