Transport Errors

- The 'push' and 'pull' commands now properly distinguish between a missing
  transport utility and other errors (thanks to Russell Steicke).
This commit is contained in:
Paul Beckingham
2013-03-03 09:34:54 -05:00
parent 1428a4135b
commit c978b2b65a
11 changed files with 98 additions and 93 deletions

View File

@@ -93,7 +93,8 @@ int Transport::execute()
}
int result = ::execute (_executable, _arguments);
int err;
switch (result) {
switch (result)
{
case 127:
throw format (STRING_TRANSPORT_NORUN, _executable);
case -1: