From 576f455ddeee6057d435c4c7e5f98c1a1abe865e Mon Sep 17 00:00:00 2001 From: ptrcnull Date: Wed, 1 Dec 2021 12:42:53 +0100 Subject: [PATCH] break the build --- main.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/main.go b/main.go index d24823f..400f25e 100644 --- a/main.go +++ b/main.go @@ -20,8 +20,6 @@ func notify(msg string) { var targetFlag = flag.Int("target", 15, "when to send the alert") -func main() { - flag.Parse() sent := false for { capacity, err := os.ReadFile("/sys/class/power_supply/BAT0/capacity")