]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/user-record.c
Use new default-user-shell option instead of hard-coding bash in nspawn and user...
[thirdparty/systemd.git] / src / shared / user-record.c
index 5b406d1f42ca8deba27fc508d44ba2d29d8fccba..7c1c2cd99221dbb21a2f61e0b34f50d6c349cefc 100644 (file)
@@ -1747,7 +1747,7 @@ const char *user_record_shell(UserRecord *h) {
                 return "/bin/sh";
 
         if (user_record_disposition(h) == USER_REGULAR)
-                return "/bin/bash";
+                return DEFAULT_USER_SHELL;
 
         return NOLOGIN;
 }