• Jiri Popelka's avatar
    Consistently use defined exit codes. · 699e5db8
    Jiri Popelka authored
    Tools have been inconsistently using exit codes when started with
    --help/--version.
    With this patch all tools use exit codes E_USAGE/E_VERSION defined
    in net-support.h.
    
    There's probably no rule what exit codes should programs use when
    started with --help/--version, but when I'm checking programs on
    my system most of them use 0 (SUCCESS) exit code.
    Therefore I redefined E_USAGE/E_VERSION to EXIT_SUCCESS (0).
    699e5db8
hostname.c 11.8 KB