diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-07-22 23:12:08 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-07-22 23:22:51 +0200 |
commit | d45597e104fa3bd80a6f1922f2fdeaa6a0eff724 (patch) | |
tree | 55a291bb46ebd7061cbffb1f0fca2a75a6b39776 /kms/server | |
parent | 9ca5b8ec3a818454ebb139ae9007184584aa2f5e (diff) |
Exit with exit code 10 if pkexec fails
Diffstat (limited to 'kms/server')
-rw-r--r-- | kms/server/kms_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kms/server/kms_server.c b/kms/server/kms_server.c index d2eb4e8..0ff0b03 100644 --- a/kms/server/kms_server.c +++ b/kms/server/kms_server.c @@ -338,7 +338,7 @@ int main(int argc, char **argv) { if(drmSetClientCap(drm.drmfd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, 1) != 0) { fprintf(stderr, "kms server error: drmSetClientCap DRM_CLIENT_CAP_UNIVERSAL_PLANES failed, error: %s\n", strerror(errno)); close(drm.drmfd); - return 2; + return 10; } if(drmSetClientCap(drm.drmfd, DRM_CLIENT_CAP_ATOMIC, 1) != 0) { |