patchport: Look out for "can't find file to patch"

This commit is contained in:
ave 2021-02-21 22:43:49 +03:00
parent fb587755da
commit 69700dacaf

View file

@ -201,7 +201,7 @@ for patch in os.listdir(os.path.join(cutthecord_folder, "patches")):
capture_output=True)
# Check for issues
if "FAILED" in out.stdout:
if "FAILED" in out.stdout or "can't find file to patch" in out.stdout:
print(f"FAILED: {patch} failed, please fix by hand.")
failures.append(patch)
out_path += "-failed"