Open2300 - Bug Report 2005x 08x 23x 080419

BUG: Failures should exit with non-zero exit value

My ws2300 occasionally fails to reset. In that case the various programs print "Could not reset" to stderr and exit with exit code 0. This should be some small non-zero value (and it should be documented).

Test case

Environment

Open2300 version: 1.10
Shared libraries:  
Server OS: linux (debian woody)

-- PeterKnoppers - 23 Aug 2005

Follow up

Fix record

Yes. That is a correct observation.

I have changed all exit(0) to exit(EXIT_FAILURE) except when the tool shows the usage

It will be in 1.11

-- KennethLavrsen - 19 Jul 2006
Topic revision: r2 - 19 Jul 2006, KennethLavrsen
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.