Versie 1.0.1
This commit is contained in:
parent
e0f0e6b05c
commit
2ac806f8e1
3 changed files with 5 additions and 4 deletions
|
@ -238,7 +238,7 @@ public:
|
|||
*/
|
||||
bool gebruikersActief() {
|
||||
auto resultaat = execute(["who"]);
|
||||
return resultaat.output.splitLines().length == 0;
|
||||
return resultaat.output.splitLines().length 1= 0;
|
||||
}
|
||||
|
||||
void sluitAf() {
|
||||
|
@ -257,7 +257,7 @@ int main(string[] args) {
|
|||
}
|
||||
} else {
|
||||
scope(failure) stderr.writefln("GEBRUIK: %s WACHTTIJD", args[0]);
|
||||
if (args.length < 2) {
|
||||
if (args.length < 3) {
|
||||
stderr.writefln("GEBRUIK: %s WACHTTIJD", args[0]);
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue