master
brl 10 years ago
parent fbe929474b
commit e03b9ce9cc

@ -34,11 +34,11 @@ func testConnect(handler func(*TestMsg, *Message) error) (*testConnection, error
tc.wg.Done() tc.wg.Done()
return err return err
} }
s,err := NewServer(testSocket, testFactory, nil, wrapper) s, err := NewServer(testSocket, testFactory, nil, wrapper)
if err != nil { if err != nil {
return nil, err return nil, err
} }
c,err := Connect(testSocket, testFactory, nil) c, err := Connect(testSocket, testFactory, nil)
if err != nil { if err != nil {
return nil, err return nil, err
} }

@ -187,12 +187,12 @@ func (sbox *Sandbox) startXpraClient() {
} }
func (sbox *Sandbox) setupXpraLogging() { func (sbox *Sandbox) setupXpraLogging() {
stdout,err := sbox.xpra.Process.StdoutPipe() stdout, err := sbox.xpra.Process.StdoutPipe()
if err != nil { if err != nil {
sbox.daemon.Warning("Failed to create xpra stdout pipe: %v", err) sbox.daemon.Warning("Failed to create xpra stdout pipe: %v", err)
return return
} }
stderr,err := sbox.xpra.Process.StderrPipe() stderr, err := sbox.xpra.Process.StderrPipe()
if err != nil { if err != nil {
stdout.Close() stdout.Close()
sbox.daemon.Warning("Failed to create xpra stderr pipe: %v", err) sbox.daemon.Warning("Failed to create xpra stderr pipe: %v", err)

Loading…
Cancel
Save