Commit 27f08300 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Fix thinko with error messages in unthreaded mode.

parent 3aeba51a
......@@ -155,7 +155,7 @@ func (self *MountState) DefaultErrorHandler() {
func (self *MountState) Error(err os.Error) {
// It is safe to do errors unthreaded, since the logger is thread-safe.
if self.Debug || self.threaded {
if !self.threaded || self.Debug {
log.Println("error: ", err)
} else {
self.errorChannel <- err
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment