• Radostin Stoyanov's avatar
    cr-service: Don't log return val of parse_options · 2ffd191b
    Radostin Stoyanov authored
    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: 's avatarRadostin Stoyanov <rstoyanov1@gmail.com>
    2ffd191b
cr-service.c 28.9 KB