Skip to content
Snippets Groups Projects
Commit ef450c40 authored by Ximin Luo's avatar Ximin Luo
Browse files

comparators/zip: exec zipinfo, don't need the shell to hang around

parent a7c1d23b
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ class Zipinfo(Command):
# zipinfo (without -v) puts warning messages (some of which contain
# $path) into stdin when stderr is not a tty, see #879011 for details.
# to work around it, we run it on /dev/stdin instead, seems to work ok.
return ['sh', '-ec', 'zipinfo /dev/stdin < "$1"', '-', self.path]
return ['sh', '-ec', 'exec zipinfo /dev/stdin < "$1"', '-', self.path]
def filter(self, line):
# we don't care about the archive file path
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment