diff options
-rwxr-xr-x | bin/ebuild-ipc.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/ebuild-ipc.py b/bin/ebuild-ipc.py index 21e5647f3..59ff735c9 100755 --- a/bin/ebuild-ipc.py +++ b/bin/ebuild-ipc.py @@ -88,11 +88,9 @@ class EbuildIpc(object): buf = array.array('B') try: buf.fromfile(input_file, self._BUFSIZE) - except EOFError as e: + except (EOFError, IOError) as e: if not buf: portage.util.writemsg("%s\n" % (e,), noiselevel=-1) - except IOError as e: - portage.util.writemsg("%s\n" % (e,), noiselevel=-1) rval = 2 |