diff options
Diffstat (limited to 'daemon.go')
| -rw-r--r-- | daemon.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -7,6 +7,8 @@ import ( "fmt" "os" "time" + + "go.wit.com/lib/debian" ) // timeFunction takes a function as an argument and returns the execution time. @@ -27,7 +29,7 @@ func zood() { fmt.Println("Done!") return case _ = <-me.dog.C: - s := me.machine.UpdatePackages() + s := debian.UpdatePackages(me.machine) me.failcount += 1 sendMachine(s) |
