core/main: Use EXIT_FAILURE / EXIT_SUCCESS

This commit is contained in:
Marian Buschsieweke 2020-05-26 12:54:12 +02:00 committed by Simon Ser
parent 05f44e7a7d
commit 4cd31295cf

View file

@ -56,9 +56,9 @@ int main(int argc, char *argv[]) {
output_name = optarg; output_name = optarg;
break; break;
case 'h': case 'h':
return xdpw_usage(stdout, 0); return xdpw_usage(stdout, EXIT_SUCCESS);
default: default:
return xdpw_usage(stderr, 1); return xdpw_usage(stderr, EXIT_FAILURE);
} }
} }