ui-macos: Notice when we've connected; make debug logs optional.

This commit is contained in:
Avery Pennarun
2011-01-18 19:11:44 -08:00
parent d301184184
commit 9f7b2bb4f6
3 changed files with 113 additions and 11 deletions

View File

@ -226,6 +226,8 @@ def _main(listener, fw, ssh_cmd, remotename, python, seed_hosts, auto_nets,
raise Fatal('expected server init string %r; got %r'
% (expected, initstring))
debug1('connected.\n')
print 'Connected.'
sys.stdout.flush()
if daemon:
daemonize()
log('daemonizing (%s).\n' % _pidname)