diff --git a/bin/follow-cvelist.py b/bin/follow-cvelist.py index 4bb8f15..9386291 100755 --- a/bin/follow-cvelist.py +++ b/bin/follow-cvelist.py @@ -150,7 +150,10 @@ def monitor(self): def pull(self): """Runs git pull""" if self.args.verbose > 1: - subprocess.call(["git", "pull"]) + result = subprocess.run( + ["git", "pull"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT + ) + print(result.stdout.decode("utf-8").strip(), file=sys.stderr) else: subprocess.call( ["git", "pull"], stdout=subprocess.DEVNULL, stderr=subprocess.STDOUT