fix static analyzer error that is blocking CI

This commit is contained in:
Ehren Bendler 2025-05-01 11:03:38 -04:00 committed by afayaz-feral
parent 6e5c950141
commit af07e169d5

View File

@ -46,7 +46,7 @@ static int set_profile_state(const char *value)
FILE *f = fopen(profile_path, "w");
if (!f) {
LOG_ERROR("Failed to open file for write %s\n", profile_path);
retval = EXIT_FAILURE;
return EXIT_FAILURE;
}
if (fprintf(f, "%s\n", value) < 0) {