From bfde5c2d2168e3e044f6ad386efa7cff0b089af3 Mon Sep 17 00:00:00 2001 From: ptrcnull Date: Wed, 1 Dec 2021 12:38:37 +0100 Subject: [PATCH 1/2] test --- test.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 test.txt diff --git a/test.txt b/test.txt new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/test.txt @@ -0,0 +1 @@ + -- 2.47.0 From 576f455ddeee6057d435c4c7e5f98c1a1abe865e Mon Sep 17 00:00:00 2001 From: ptrcnull Date: Wed, 1 Dec 2021 12:42:53 +0100 Subject: [PATCH 2/2] 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") -- 2.47.0