diff options
Diffstat (limited to 'lib/bb/fetch2/ssh.py')
-rw-r--r-- | lib/bb/fetch2/ssh.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/bb/fetch2/ssh.py b/lib/bb/fetch2/ssh.py index 246439ef1..29cc27219 100644 --- a/lib/bb/fetch2/ssh.py +++ b/lib/bb/fetch2/ssh.py @@ -114,7 +114,5 @@ class SSH(Fetch): bb.fetch2.check_network_access(d, cmd) - (exitstatus, output) = commands.getstatusoutput(cmd) - if exitstatus != 0: - print(output) - raise FetchError('Unable to fetch %s' % url) + runfetchcmd(cmd, d) + |