diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-06-16 21:54:17 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-06-16 21:54:17 +0200 |
commit | 5b6319dceedd81f3f1ce7eb70ea5defaef43bcec (patch) | |
tree | 0298a9a610482956971a07830f66b8dd051f4bee /src/dbus-manager.c | |
parent | 04aa0cb9c46f0a5cd0cf5b4a4e378460423d2635 (diff) |
service: optionally call into PAM when dropping priviliges
Diffstat (limited to 'src/dbus-manager.c')
-rw-r--r-- | src/dbus-manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbus-manager.c b/src/dbus-manager.c index c80b22b9e6..d4c9e8f0e2 100644 --- a/src/dbus-manager.c +++ b/src/dbus-manager.c @@ -626,7 +626,7 @@ static DBusHandlerResult bus_manager_message_handler(DBusConnection *connection return bus_send_error_reply(m, message, NULL, r); } - e = strv_env_merge(m->environment, l, NULL); + e = strv_env_merge(2, m->environment, l); strv_free(l); if (!e) @@ -650,7 +650,7 @@ static DBusHandlerResult bus_manager_message_handler(DBusConnection *connection return bus_send_error_reply(m, message, NULL, r); } - e = strv_env_delete(m->environment, l, NULL); + e = strv_env_delete(m->environment, 1, l); strv_free(l); if (!e) |