commit: d4127c98b4b90b33e9c2e937aa71c20d0956ebc0 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Mon Jun 21 17:56:37 2021 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Mon Jun 21 17:56:37 2021 +0000 URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=d4127c98
crossdev: use die() in eval() context to avoid error message swallowing Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> crossdev | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/crossdev b/crossdev index 7bceed5..1a2b030 100755 --- a/crossdev +++ b/crossdev @@ -991,10 +991,7 @@ load_multilib_env() { else single_abi=false fi - if ! multilib_env ; then - echo "die 'could not load multilib settings for ${var}'" - exit 1 - fi + multilib_env || die "die 'could not load multilib settings for ${var}'" ${single_abi} && MULTILIB_ABIS=${DEFAULT_ABI} # output the desired env