chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dead8d
)
execute: fix PAM error checking
author
Lennart Poettering
<lennart@poettering.net>
Thu, 30 Jun 2011 02:15:53 +0000
(
04:15
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 30 Jun 2011 02:15:53 +0000
(
04:15
+0200)
src/execute.c
patch
|
blob
|
history
diff --git
a/src/execute.c
b/src/execute.c
index c69442d0ffeeda1365db6ad07c71e300140c4dd1..d297e0a9e65c2d23096fafa0dee504009defb059 100644
(file)
--- a/
src/execute.c
+++ b/
src/execute.c
@@
-1269,7
+1269,7
@@
int exec_spawn(ExecCommand *command,
#ifdef HAVE_PAM
if (context->pam_name && username) {
- if (setup_pam(context->pam_name, username, context->tty_path, &pam_env, fds, n_fds)
<
0) {
+ if (setup_pam(context->pam_name, username, context->tty_path, &pam_env, fds, n_fds)
!=
0) {
r = EXIT_PAM;
goto fail_child;
}