summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/revdep-rebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/revdep-rebuild b/bin/revdep-rebuild
index 0dd0e87..a4fa0f7 100755
--- a/bin/revdep-rebuild
+++ b/bin/revdep-rebuild
@@ -815,7 +815,7 @@ main_checks() {
progress $((++i)) $numFiles $target_file ||
progress $((++i)) $numFiles
done
- if [[ $SEARCH_BROKEN ]]; then
+ if [[ $SEARCH_BROKEN && -f $ERRORS_FILE ]]; then
# Look for missing version
while read target_file; do
echo "obj $target_file" >> "$BROKEN_FILE"