Index: mstate/unit.go |
=== modified file 'mstate/unit.go' |
--- mstate/unit.go 2012-09-11 13:23:57 +0000 |
+++ mstate/unit.go 2012-09-11 13:52:21 +0000 |
@@ -243,7 +243,7 @@ |
} |
case <-time.After(timeout): |
return fmt.Errorf("still not alive after timeout") |
- case <-u.st.pwatcher.Dying(): |
+ case <-u.st.pwatcher.Dead(): |
return u.st.pwatcher.Err() |
} |
} |