← Commit list

e4f9f3a96

Robert Griebl
Robert Griebl
2002-07-16
FAILED Duration: 5s

Subject

Don't treat a non-existant/-readable config file as an empty config, but use the compiled in _BB_SUID_* flags (same as for parse errors)

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

applets/applets.c+2 -1
@@ -392,10 +392,11 @@ int parse_config_file ( void )
parse_error ( "keyword not within section" );
}
fclose ( f );
+ return 1;
}
}
}
- return 1;
+ return 0; // no config file or not readable (not an error)
pe_label:
fprintf ( stderr, "Parse error in %s, line %d: %s\n", CONFIG_FILE, lc, err );