]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
homectl: clarify that we pick the default shell if the prompt is skipped
authorLennart Poettering <lennart@poettering.net>
Wed, 5 Feb 2025 09:58:36 +0000 (10:58 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 17 Feb 2025 14:21:18 +0000 (15:21 +0100)
src/home/homectl.c

index 04457ebedae02b82fe4c57662a91cc0770cf91fc..ad372c84202b1352a728e051ab2b89479178f2d3 100644 (file)
@@ -2640,13 +2640,13 @@ static int create_interactively(void) {
                 shell = mfree(shell);
 
                 r = ask_string(&shell,
-                               "%s Please enter the shell to use for user %s (empty to skip): ",
+                               "%s Please enter the shell to use for user %s (empty for default): ",
                                special_glyph(SPECIAL_GLYPH_TRIANGULAR_BULLET), username);
                 if (r < 0)
                         return log_error_errno(r, "Failed to query user for username: %m");
 
                 if (isempty(shell)) {
-                        log_info("No data entered, skipping.");
+                        log_info("No data entered, leaving at default.");
                         break;
                 }