Skip to content
Snippets Groups Projects
Unverified Commit 575df002 authored by Kali Kaneko's avatar Kali Kaneko
Browse files

[bug] temporarily disable polkit check

latest release 0.19.6 included a polkit check.
this check is failing in some setups, leading to an unusable experience.
I'm temporarily disabling the check to be able to have an usable release
until we can debug what's causing the issue.

- Related: #152
parent 38bca5b0
No related branches found
No related tags found
No related merge requests found
......@@ -54,23 +54,25 @@ func (l *launcher) close() error {
func (l *launcher) check() (helpers bool, priviledge bool, err error) {
isRunning, err := isPolkitRunning()
if err != nil {
return
}
if !isRunning {
polkitPath := getPolkitPath()
if polkitPath == "" {
return true, false, nil
}
cmd := exec.Command("setsid", polkitPath)
err = cmd.Start()
/*
isRunning, err := isPolkitRunning()
if err != nil {
return
}
isRunning, err = isPolkitRunning()
return true, isRunning, err
}
if !isRunning {
polkitPath := getPolkitPath()
if polkitPath == "" {
return true, false, nil
}
cmd := exec.Command("setsid", polkitPath)
err = cmd.Start()
if err != nil {
return
}
isRunning, err = isPolkitRunning()
return true, isRunning, err
}
*/
return true, true, nil
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment