Do not exit because this could be a script that patchelf can't work on
This commit is contained in:
+2
-2
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user