Project

General

Profile

Bug #8426

stty does not handle no-tty input

Added by Janos Mattyasovszky almost 5 years ago. Updated almost 5 years ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
User visibility:
Effort required:
Priority:

Description

In rudder-init, when Hit any key to continue... is displayed, and you "echo" the answers to automate the process, you get an error:

Hit any key to continue....stty: standard input: Inappropriate ioctl for device
stty: standard input: Inappropriate ioctl for device

Please make stty conditional, by using [ -t 0 ], so no-tty environments can skip this part.

Also available in: Atom PDF