unit: introduce %s specifier for the user shell

This commit is contained in:
Lennart Poettering
2012-07-16 12:34:54 +02:00
parent b2896c905b
commit d05c5031ad
9 changed files with 54 additions and 12 deletions
+1 -1
View File
@@ -1182,7 +1182,7 @@ int exec_spawn(ExecCommand *command,
if (context->user) {
username = context->user;
err = get_user_creds(&username, &uid, &gid, &home);
err = get_user_creds(&username, &uid, &gid, &home, NULL);
if (err < 0) {
r = EXIT_USER;
goto fail_child;