Skip to content

daemon: getopt returns int, declare it as such to avoid comparison issues

George Kiagiadakis requested to merge github/fork/gkiagia/getopt-bug into work

On some toolchains/architectures, a char with -1 value is not equal to the integer -1, resulting in this code to think that it got an unrecognized command line option

Merge request reports