summaryrefslogtreecommitdiff
path: root/daemon.go
diff options
context:
space:
mode:
Diffstat (limited to 'daemon.go')
-rw-r--r--daemon.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/daemon.go b/daemon.go
index f92907f..17c486e 100644
--- a/daemon.go
+++ b/daemon.go
@@ -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)