Index: src/scripts/common.sh |
diff --git a/src/scripts/common.sh b/src/scripts/common.sh |
index 253954c057df2a6e960a80daa4a134727b1fd476..52bf63277954f6ef2ce3fcbc3ae75e540f186b25 100644 |
--- a/src/scripts/common.sh |
+++ b/src/scripts/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 |
} |