diff --git a/app/xenodm/xenodm/auth.c b/app/xenodm/xenodm/auth.c index d5740479f..8a6af1163 100644 --- a/app/xenodm/xenodm/auth.c +++ b/app/xenodm/xenodm/auth.c @@ -348,6 +348,7 @@ SaveServerAuthorizations ( * to the auth file so xrdb and setup programs don't fail. */ if (auths[i]->data_length > 0) + { if (!XauWriteAuth (auth_file, auths[i])) { Debug ("XauWriteAuth() failed\n"); @@ -358,6 +359,7 @@ SaveServerAuthorizations ( err = errno; ret = FALSE; } + } } /* * XXX: This is not elegant, but stdio has no truncation function.