summaryrefslogtreecommitdiff
path: root/debian/patches/golang-1.3-compat-remove-prefix-logging
diff options
context:
space:
mode:
authorflu0r1ne <flu0r1ne@flu0r1ne.net>2021-09-05 20:57:28 -0500
committerflu0r1ne <flu0r1ne@flu0r1ne.net>2021-09-05 20:57:28 -0500
commit087c51bed9da75f5585d176a7b14396cd70f2638 (patch)
treeaaaf4a0de37eee63d8ec37f30dfa37cf61d2cf8f /debian/patches/golang-1.3-compat-remove-prefix-logging
parenta4c190fb594f44da2849ec02c36117f35516c07d (diff)
downloaddeb-planr-087c51bed9da75f5585d176a7b14396cd70f2638.tar.xz
deb-planr-087c51bed9da75f5585d176a7b14396cd70f2638.zip
Temp unit test fix
Diffstat (limited to 'debian/patches/golang-1.3-compat-remove-prefix-logging')
-rw-r--r--debian/patches/golang-1.3-compat-remove-prefix-logging8
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/patches/golang-1.3-compat-remove-prefix-logging b/debian/patches/golang-1.3-compat-remove-prefix-logging
index 08a1a9e..072be5d 100644
--- a/debian/patches/golang-1.3-compat-remove-prefix-logging
+++ b/debian/patches/golang-1.3-compat-remove-prefix-logging
@@ -2,13 +2,13 @@ Index: planr/cmd/planr/main.go
===================================================================
--- planr.orig/cmd/planr/main.go
+++ planr/cmd/planr/main.go
-@@ -28,8 +28,7 @@ func dieUsage() {
-
- func main() {
+@@ -73,8 +73,7 @@ func main() {
+ defer pprof.StopCPUProfile()
+ }
- log.SetFlags(log.Llongfile | log.Lmsgprefix)
- log.SetPrefix("planr: ")
+ log.SetFlags(log.Llongfile)
- if len(os.Args) < 2 {
+ if flag.NArg() < 1 {
dieUsage()