fix: stupid logic bug

https://github.com/javalsai/lidm/issues/77#issuecomment-3225642519
This commit is contained in:
2025-08-26 22:33:13 +02:00
parent b3c8d3cbea
commit ddc38ef27f

View File

@@ -180,9 +180,9 @@ 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);
if (pw == NULL) { if (pw == NULL) {