Do not exit because this could be a script that patchelf can't work on

This commit is contained in:
probonopd
2017-03-02 21:21:20 +01:00
committed by GitHub
parent b3072213a3
commit 9359693d9f
+2 -2
View File
@@ -592,7 +592,7 @@ void runPatchelf(QStringList options)
if (patchelftool.exitCode() != 0) { if (patchelftool.exitCode() != 0) {
LogError() << "runPatchelf:" << patchelftool.readAllStandardError(); LogError() << "runPatchelf:" << patchelftool.readAllStandardError();
LogError() << "runPatchelf:" << patchelftool.readAllStandardOutput(); LogError() << "runPatchelf:" << patchelftool.readAllStandardOutput();
exit(1); // exit(1); // Do not exit because this could be a script that patchelf can't work on
} }
} }
@@ -634,7 +634,7 @@ void runStrip(const QString &binaryPath)
} else { } else {
LogError() << "Could not start patchelf. Process error is" << patchelfread.errorString(); LogError() << "Could not start patchelf. Process error is" << patchelfread.errorString();
} }
exit(1); // exit(1); // Do not exit because this could be a script that patchelf can't work on
} }
patchelfread.waitForFinished(); patchelfread.waitForFinished();