fix: cli, print temperatures
This commit is contained in:
parent
3d54401011
commit
807a5b80ff
4
Makefile
4
Makefile
@ -7,5 +7,5 @@ go-build-arm7:
|
|||||||
GOOS=linux GOARCH=arm GOARM=7 go build -o flucky -ldflags "-X main.version=${VERSION}"
|
GOOS=linux GOARCH=arm GOARM=7 go build -o flucky -ldflags "-X main.version=${VERSION}"
|
||||||
|
|
||||||
pi-copy: go-build-arm7
|
pi-copy: go-build-arm7
|
||||||
scp flucky hades:/usr/local/bin
|
scp flucky poseidon:/usr/local/bin
|
||||||
ssh hades 'chmod +x /usr/local/bin/flucky'
|
ssh poseidon 'chmod +x /usr/local/bin/flucky'
|
||||||
|
@ -155,8 +155,9 @@ func PrintTemperatures(temperatures []*types.Temperature, cnf *config.FluckyConf
|
|||||||
} else {
|
} else {
|
||||||
fmt.Fprint(tw, "\t")
|
fmt.Fprint(tw, "\t")
|
||||||
}
|
}
|
||||||
fmt.Fprint(tw, "\n")
|
|
||||||
}
|
}
|
||||||
|
fmt.Fprint(tw, "\n")
|
||||||
}
|
}
|
||||||
tw.Flush()
|
tw.Flush()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user