was wronging running 'apt upgrade'
This commit is contained in:
parent
611025c946
commit
60248b5931
2
send.go
2
send.go
|
@ -79,7 +79,7 @@ func sendMachine(s string) error {
|
|||
log.Info("Got to apt install", line)
|
||||
parts := strings.Fields(line)
|
||||
if len(parts) > 1 {
|
||||
cmd := []string{"apt", "update"}
|
||||
cmd := []string{"apt"}
|
||||
cmd = append(cmd, parts[1:]...)
|
||||
log.Info("Got to parts =", parts)
|
||||
log.Info("Got to cmd =", cmd)
|
||||
|
|
Loading…
Reference in New Issue