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
@@ -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;
}