Sluit alleen af als dit moet
This commit is contained in:
parent
adb43713ac
commit
28da35575c
|
@ -221,7 +221,7 @@ public:
|
||||||
*/
|
*/
|
||||||
bool kanAfsluiten() {
|
bool kanAfsluiten() {
|
||||||
auto resultaat = execute(["who"]);
|
auto resultaat = execute(["who"]);
|
||||||
return resultaat.output.splitLines().length != 0;
|
return resultaat.output.splitLines().length == 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue