diff options
| author | Drew DeVault <sir@cmpwn.com> | 2019-01-18 09:07:17 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-18 09:07:17 -0500 |
| commit | 52eeb9fc1e145a121fdbdaab56446ada26367903 (patch) | |
| tree | b662ed20b7c2a86eeb54d9a63b426959fdca9973 /main.c | |
| parent | 63fb6c0d963a5a9e6a07a11bf9c4c7e1e8d7dcfc (diff) | |
| parent | 648b0ccd64c45f6a37c8b6c49a39416a78230a2f (diff) | |
Merge pull request #24 from c-edw/feature/AbortSUIDWithPAM
Log error and exit if swaylock is suid with PAM backend.
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -977,7 +977,7 @@ static void comm_in(int fd, short mask, void *data) { int main(int argc, char **argv) { swaylock_log_init(LOG_ERROR); - initialize_pw_backend(); + initialize_pw_backend(argc, argv); enum line_mode line_mode = LM_LINE; state.args = (struct swaylock_args){ |
