1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-26 18:21:01 +00:00

cli: avoid misleading error message when creating an admin user

This commit is contained in:
Frédéric Guillot 2024-03-23 14:05:05 -07:00
parent ad1d349a0c
commit 3db3f9884f
4 changed files with 25 additions and 16 deletions

View file

@ -16,7 +16,7 @@ func askCredentials() (string, string) {
fd := int(os.Stdin.Fd())
if !term.IsTerminal(fd) {
printErrorAndExit(fmt.Errorf("this is not a terminal, exiting"))
printErrorAndExit(fmt.Errorf("this is not an interactive terminal, exiting"))
}
fmt.Print("Enter Username: ")