mirror of https://github.com/n1nj4sec/pupy.git
create-workspace: check programs - fix case with absent executable
This commit is contained in:
parent
f5e3d977bb
commit
b95be4967f
|
@ -167,7 +167,7 @@ def check_programs(programs, available=False):
|
|||
subprocess.check_call(args, stdout=devnull)
|
||||
|
||||
ok.append(program)
|
||||
except subprocess.CalledProcessError:
|
||||
except (OSError, subprocess.CalledProcessError):
|
||||
messages.append(message)
|
||||
|
||||
if available:
|
||||
|
|
Loading…
Reference in New Issue