mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-22 14:35:57 +01:00
core/main: Use EXIT_FAILURE / EXIT_SUCCESS
This commit is contained in:
parent
05f44e7a7d
commit
4cd31295cf
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue