mirror of
https://github.com/javalsai/lidm.git
synced 2025-08-30 09:58:00 +02:00
fix: stupid logic bug
https://github.com/javalsai/lidm/issues/77#issuecomment-3225642519
This commit is contained in:
@@ -180,8 +180,8 @@ bool launch(char* user, char* passwd, struct session session, void (*cb)(void),
|
|||||||
log_printf("failure parsing exec string '%s': %d\n",
|
log_printf("failure parsing exec string '%s': %d\n",
|
||||||
session.exec ? session.exec : "NULL", parse_status);
|
session.exec ? session.exec : "NULL", parse_status);
|
||||||
free_parsed_args(desktop_count, desktop_exec);
|
free_parsed_args(desktop_count, desktop_exec);
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
struct passwd* pw = getpwnam(user);
|
struct passwd* pw = getpwnam(user);
|
||||||
|
Reference in New Issue
Block a user