diff options
Diffstat (limited to 'pkg/standalone')
-rw-r--r-- | pkg/standalone/launcher_linux.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/standalone/launcher_linux.go b/pkg/standalone/launcher_linux.go index 763f742..39355c9 100644 --- a/pkg/standalone/launcher_linux.go +++ b/pkg/standalone/launcher_linux.go @@ -191,9 +191,11 @@ func runBitmaskRoot(arg ...string) error { } arg = append([]string{bitmaskRoot}, arg...) - cmd := exec.Command("pkexec", arg...) - err = cmd.Run() + out, err := exec.Command("pkexec", arg...).Output() if err != nil { + log.Println("Error while running bitmask-root:") + log.Println("args: ", arg) + log.Println("output: ", string(out)) return err } return nil |