mirror of
https://github.com/systemd/systemd.git
synced 2025-03-21 02:50:18 +03:00
homectl: clarify that we pick the default shell if the prompt is skipped
This commit is contained in:
parent
94a2b1cd25
commit
9e6fbb5a51
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user