diff options
Diffstat (limited to 'update.go')
| -rw-r--r-- | update.go | 4 | 
1 files changed, 3 insertions, 1 deletions
@@ -9,7 +9,9 @@ import (  )  func (ls *LinuxStatus) Update() { -	if ls == nil { return } +	if ls == nil { +		return +	}  	if !ls.Ready() {  		log.Log(WARN, "can't update yet. ready is false")  		log.Error(errors.New("Update() is not ready yet"))  | 
