diff options
author | lawl <github@dumbinter.net> | 2021-02-04 10:43:17 +0100 |
---|---|---|
committer | lawl <github@dumbinter.net> | 2021-02-04 10:43:17 +0100 |
commit | 7172888478a74e5e04f5a7d0cf03bcd8b11a2e6a (patch) | |
tree | 1ad849388c723330e73c58d54b40fe113c0f54a6 | |
parent | 335b8a2567eff46169a37011849870c9f2c2cc3b (diff) | |
download | noisetorch-7172888478a74e5e04f5a7d0cf03bcd8b11a2e6a.tar.gz noisetorch-7172888478a74e5e04f5a7d0cf03bcd8b11a2e6a.zip |
Convert fmt print to log print
-rw-r--r-- | capability.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/capability.go b/capability.go index 65cb17a..759bb7a 100644 --- a/capability.go +++ b/capability.go @@ -1,7 +1,6 @@ package main import ( - "fmt" "log" "os" "os/exec" @@ -25,7 +24,7 @@ func getCurrentCaps() *capability.Capabilities { func getSelfFileCaps() *capability.Capabilities { self, err := os.Executable() - fmt.Printf("Getting caps for: %s\n", self) + log.Printf("Getting caps for: %s\n", self) if err != nil { log.Fatalf("Could not get path to own executable: %+v\n", err) } |