cr-service: Don't log return val of parse_options
The function parse_options() should return an integer 0, 1 or 2, where:
0 := Success
1 := Failure
2 := CRIU should display help text
The current behaviour always creates a warning message which shows
the return value of that function. However, when the return value
is different than 0 (Success) CRIU will fail. Since the logging is
not initialised when this message is created, it will be lost, and
therefore it can be removed completely.
Signed-off-by:
Radostin Stoyanov <rstoyanov1@gmail.com>
Showing
Please
register
or
sign in
to comment