Fixes orchestrator permission check
This commit is contained in:
parent
ae5f8f8779
commit
1fb7602a4e
2 changed files with 2 additions and 1 deletions
|
|
@ -601,7 +601,7 @@ s
|
|||
#hasRightToRun() {
|
||||
try {
|
||||
const result = child_process.execSync('evremap list-devices').toString();
|
||||
return result.includes('os error 13');
|
||||
return !result.includes('os error 13');
|
||||
|
||||
} catch (e) {
|
||||
this.#logger.log(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue