1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 09:18:08 +00:00

Fixes error when ldd cannot be found.

This commit is contained in:
grossmj 2014-05-02 16:20:10 -06:00
parent f185c4d489
commit cd47d96de7

View File

@ -413,7 +413,7 @@ class IOUDevice(object):
try: try:
output = subprocess.check_output(["ldd", self._path]) output = subprocess.check_output(["ldd", self._path])
except subprocess.SubprocessError as e: except (subprocess.SubprocessError, FileNotFoundError) as e:
log.warn("could not determine the shared library dependencies for {}: {}".format(self._path, e)) log.warn("could not determine the shared library dependencies for {}: {}".format(self._path, e))
return return