mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-15 22:59:36 +00:00
Fix return code of rungetty.sh (#3881)
* Fix return code of rungetty.sh In case of INITGETTY defined we will return exit code 1 which is not expected Signed-off-by: Petr Fedchenkov <giggsoff@gmail.com> * Update getty sha Signed-off-by: Petr Fedchenkov <giggsoff@gmail.com> * restore package cache in LinuxKit Build Tests Signed-off-by: Petr Fedchenkov <giggsoff@gmail.com> Signed-off-by: Petr Fedchenkov <giggsoff@gmail.com>
This commit is contained in:
@@ -82,4 +82,4 @@ for opt in $(cat /proc/cmdline); do
|
||||
done
|
||||
|
||||
# if we are in a container (not in root init) wait for all our child process to exit; tini will handle subreaping, if necessary
|
||||
[ -z "$INITGETTY" ] && wait
|
||||
[ -n "$INITGETTY" ] || wait
|
||||
|
Reference in New Issue
Block a user