aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/system
diff options
context:
space:
mode:
Diffstat (limited to 'internal/system')
-rw-r--r--internal/system/retrieve.go4
-rw-r--r--internal/system/value.go1
2 files changed, 2 insertions, 3 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")
diff --git a/internal/system/value.go b/internal/system/value.go
index fa5458fc..c34e7fa8 100644
--- a/internal/system/value.go
+++ b/internal/system/value.go
@@ -8,7 +8,6 @@ type Values struct {
Share string
Runtime string
RunDir string
- Verbose bool
}
var V *Values