diff --git a/common.sh b/common.sh index 253954c057..52bf632779 100644 --- a/common.sh +++ b/common.sh @@ -306,12 +306,12 @@ function die { # Retry an emerge command according to $FLAGS_retries # The $EMERGE_JOBS flags will only be added the first time the command is run function eretry () { - $* $EMERGE_JOBS && return 0 local i= for i in $(seq $FLAGS_retries); do echo Retrying $* - $* && return 0 + $* $EMERGE_JOBS && return 0 done + $* && return 0 return 1 }