mirror of https://github.com/hyprwm/Hyprland
Fix crash reports having execute permission
This commit is contained in:
parent
bdb296a83c
commit
f634b9e61a
|
@ -86,7 +86,7 @@ void CrashReporter::createAndSaveCrash(int sig) {
|
||||||
stderr.flush();
|
stderr.flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
reportFd = open(reportPath.get_str(), O_WRONLY | O_CREAT, S_IRWXU);
|
reportFd = open(reportPath.get_str(), O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR);
|
||||||
if (reportFd < 0) {
|
if (reportFd < 0) {
|
||||||
exit_with_error("Failed to open crash report path for writing");
|
exit_with_error("Failed to open crash report path for writing");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue