Browse Source

fix: if directory was empty, there was a nasty message.

raw-remaining-args
Valentin Lab 9 years ago
parent
commit
b88d7f1483
  1. 2
      bin/compose

2
bin/compose

@ -1671,7 +1671,7 @@ get_docker_compose_single_opts_list() {
clean_cache() { clean_cache() {
local i=0 local i=0
for f in $(ls -t "$CACHEDIR/"*.cache.* | tail -n +500); do
for f in $(ls -t "$CACHEDIR/"*.cache.* 2>/dev/null | tail -n +500); do
((i++)) ((i++))
rm -f "$f" rm -f "$f"
done done

Loading…
Cancel
Save