summaryrefslogtreecommitdiff
path: root/pkg/standalone/launcher_linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/standalone/launcher_linux.go')
-rw-r--r--pkg/standalone/launcher_linux.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkg/standalone/launcher_linux.go b/pkg/standalone/launcher_linux.go
index f2d0392..76f74f8 100644
--- a/pkg/standalone/launcher_linux.go
+++ b/pkg/standalone/launcher_linux.go
@@ -193,13 +193,12 @@ func runBitmaskRoot(arg ...string) error {
arg = append([]string{bitmaskRoot}, arg...)
out, err := exec.Command("pkexec", arg...).Output()
- if err != nil {
+ if err != nil && arg[2] != "isup" {
log.Println("Error while running bitmask-root:")
log.Println("args: ", arg)
log.Println("output: ", string(out))
- return err
}
- return nil
+ return err
}
func bitmaskRootPath() (string, error) {