mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-29 17:07:19 +02:00
Bug #1001
- Fixed bug #1001, which caused a segv (thanks to Bryce Harrington).
This commit is contained in:
parent
0b75fe1311
commit
fc4a71aa5c
2 changed files with 5 additions and 1 deletions
|
@ -396,7 +396,10 @@ int Context::dispatch (std::string &out)
|
|||
return rc;
|
||||
}
|
||||
|
||||
return commands["help"]->execute (out);
|
||||
if (commands["help"])
|
||||
return commands["help"]->execute (out);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue