mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Fixes error when ldd cannot be found.
This commit is contained in:
1 parent
f185c4d489
commit
cd47d96de7
1 file changed
+1
-1
@@ -413,7 +413,7 @@ class IOUDevice(object):
|
||||
|
||||
try:
|
||||
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))
|
||||
return
|
||||
|
||||
|
||||
Reference in new issue
Block a user