[Buildroot] [PATCH] pseudo-wrapper: fix console issue

Gaël PORTAY gael.portay at savoirfairelinux.com
Wed Nov 23 14:37:55 UTC 2016


On Wed, Nov 23, 2016 at 09:24:15AM +0100, yann.morin.1998 at free.fr wrote:
> We want the wrapper to fail if the command failed., so:
> 
>     # ... run script/command...
>     "${0%/*}/pseudo" "${@}"
>     ret=$?
> 
>     # ... terminates server...
>     kill -s TERM "$pid"
>     wait "$pid"
> 
>     exit ${ret}

Indeed, I saw it rigth after I sent the patch :(


More information about the buildroot mailing list