Bug #1001
- Actual resolution of Bug #1001. The Edit command was actually changing the working directory without going back to the original one afterwards.
This commit is contained in:
committed by
Paul Beckingham
parent
e1407437e0
commit
b1e63e575a
@@ -31,6 +31,7 @@
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
#include <algorithm>
|
||||
#include <assert.h>
|
||||
#include <pwd.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@@ -395,8 +396,8 @@ int Context::dispatch (std::string &out)
|
||||
return rc;
|
||||
}
|
||||
|
||||
if (commands["help"])
|
||||
return commands["help"]->execute (out);
|
||||
assert (commands["help"]);
|
||||
return commands["help"]->execute (out);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user