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
1 changed files with 2 additions and 2 deletions

View File

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