summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xportage-update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/portage-update.sh b/portage-update.sh
index 8ded882..bf2f684 100755
--- a/portage-update.sh
+++ b/portage-update.sh
@@ -45,7 +45,7 @@ done
# Sync all repositories configured with auto-sync, unless skipped
if [ -z ${SKIP_SYNC+x} ]; then
echo 'emaint sync --auto'
- emaint sync --auto || (echo "$0: error: failed to sync repositories" ; echo exit 1)
+ emaint sync --auto || (echo "$0: error: failed to sync repositories" ; exit 1) || exit 1
fi
# Check to see if there's any news, unless skipped