summaryrefslogtreecommitdiff
path: root/send.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-16 13:51:25 -0600
committerJeff Carr <[email protected]>2024-11-16 13:51:25 -0600
commit3f10b49f048b773cd3c43b7ea035623979166e5c (patch)
treeae4ddc71599ba93105defe1a8bf3e45f2570cddf /send.go
parent68933a8ec78d6b3476a9fe275b15cf45aedd4c0d (diff)
misc
Diffstat (limited to 'send.go')
-rw-r--r--send.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/send.go b/send.go
index 315f59a..d9534ac 100644
--- a/send.go
+++ b/send.go
@@ -5,6 +5,7 @@ package main
import (
"strings"
+ "go.wit.com/lib/gui/shell"
"go.wit.com/log"
)
@@ -62,6 +63,7 @@ func sendMachine() error {
switch line {
case "upgrade":
log.Info("machine upgrade now")
+ shell.Run([]string{"apt", "update"})
default:
log.Info("GOT:", line)
}