mirror of https://github.com/fairyglade/ly.git
Style checking
This commit is contained in:
parent
0571e63c8a
commit
4e0bd26be3
|
@ -209,10 +209,10 @@ const char* de_command, enum deserv_t display_server)
|
||||||
/* Initialise user groups */
|
/* Initialise user groups */
|
||||||
/* Get pwd structure for the user to get his group id */
|
/* Get pwd structure for the user to get his group id */
|
||||||
struct passwd* pw = getpwnam(username);
|
struct passwd* pw = getpwnam(username);
|
||||||
|
|
||||||
if(!pw)
|
if(!pw)
|
||||||
{
|
{
|
||||||
error_print(strerror(errno));
|
error_print(strerror(errno));
|
||||||
|
|
||||||
pam_end(login_handle, pam_result);
|
pam_end(login_handle, pam_result);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
@ -222,7 +222,6 @@ const char* de_command, enum deserv_t display_server)
|
||||||
if(grp_result == -1)
|
if(grp_result == -1)
|
||||||
{
|
{
|
||||||
error_print(strerror(errno));
|
error_print(strerror(errno));
|
||||||
|
|
||||||
pam_end(login_handle, pam_result);
|
pam_end(login_handle, pam_result);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue