diff --git a/rc b/rc index 9bac8b3..6ef6e76 100755 --- a/rc +++ b/rc @@ -50,7 +50,11 @@ function _q-tools-update-binary { local obsoleted_file if [[ -e .removed_files.txt ]]; then while read obsoleted_file; do - echo removing "$obsoleted_file" + if [[ -e "$obsoleted_file" ]]; then + echo removing "$obsoleted_file" + else + echo no such file: "$obsoleted_file" + fi done < .removed_files.txt fi set +u