terminology: Use return value of cwd

SVN revision: 81861
This commit is contained in:
Mike McCormack 2012-12-29 07:25:19 +00:00
parent cf1c63c846
commit dfd5b67b67
1 changed files with 1 additions and 5 deletions

View File

@ -1219,11 +1219,7 @@ remote:
inst.cmd = cmd;
if (cd) inst.cd = cd;
else
{
getcwd(cwdbuf, sizeof(cwdbuf));
inst.cd = cwdbuf;
}
else inst.cd = getcwd(cwdbuf, sizeof(cwdbuf));
inst.background = background;
inst.name = name;
inst.role = role;