Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for pool-leap-15.4:s390x
home:philipsb:newer-kernels-on-sle10
module-init-tools
modprobe-different-exit-codes.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File modprobe-different-exit-codes.patch of Package module-init-tools
Allow to set a different exit code for fatal(). mit-unsupported-modules.patch needs this. --- modprobe.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- modprobe.c.orig +++ modprobe.c @@ -90,13 +90,15 @@ static void warn(const char *fmt, ...) va_end(arglist); } +/* can be overriden for different kinds of errors */ +static int fatal_exit_code = 1; static void fatal(const char *fmt, ...) { va_list arglist; va_start(arglist, fmt); message("FATAL: ", fmt, &arglist); va_end(arglist); - exit(1); + exit(fatal_exit_code); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor