summaryrefslogtreecommitdiff
path: root/src/nspawn
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-07-16 12:34:54 +0200
committerLennart Poettering <lennart@poettering.net>2012-07-16 12:34:54 +0200
commitd05c5031ad4c528fe6bbfed289519edb9f13180a (patch)
tree6b71a2bab0120c86da640693474beb4931043b0c /src/nspawn
parentb2896c905bef7be7ed9a760d9d61aa6ad0f614a3 (diff)
unit: introduce %s specifier for the user shell
Diffstat (limited to 'src/nspawn')
-rw-r--r--src/nspawn/nspawn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index ffd8fd4ef5..2879db11eb 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -1059,7 +1059,7 @@ int main(int argc, char *argv[]) {
if (arg_user) {
- if (get_user_creds((const char**)&arg_user, &uid, &gid, &home) < 0) {
+ if (get_user_creds((const char**)&arg_user, &uid, &gid, &home, NULL) < 0) {
log_error("get_user_creds() failed: %m");
goto child_fail;
}