aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/system/retrieve.go
diff options
context:
space:
mode:
authorOphestra Umiker <cat@ophivana.moe>2024-09-12 21:07:05 +0900
committerOphestra Umiker <cat@ophivana.moe>2024-09-12 21:07:05 +0900
commitda6d238d8a15fa583b384b547decbddcda28ff8b (patch)
treee0f8b1364fa09e5a5ec7a1d0e86d13c475cde3eb /internal/system/retrieve.go
parentb0aff891661dfa2f438a7264607a4e6e9caef026 (diff)
verbose: remove system package interaction
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'internal/system/retrieve.go')
-rw-r--r--internal/system/retrieve.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/system/retrieve.go b/internal/system/retrieve.go
index d9f0e3dd..06798423 100644
--- a/internal/system/retrieve.go
+++ b/internal/system/retrieve.go
@@ -7,12 +7,12 @@ import (
"strconv"
)
-func Retrieve(verbose bool) {
+func Retrieve() {
if V != nil {
panic("system info retrieved twice")
}
- v := &Values{Share: path.Join(os.TempDir(), "fortify."+strconv.Itoa(os.Geteuid())), Verbose: verbose}
+ v := &Values{Share: path.Join(os.TempDir(), "fortify."+strconv.Itoa(os.Geteuid()))}
if r, ok := os.LookupEnv(xdgRuntimeDir); !ok {
fmt.Println("Env variable", xdgRuntimeDir, "unset")