Browse Source

fix: incorrect use of \' in ``trap_add``.

raw-remaining-args
Valentin Lab 7 years ago
parent
commit
0c532ae6a1
  1. 2
      bin/compose

2
bin/compose

@ -530,7 +530,7 @@ ensure_db_docker_running () {
rm "/tmp/${_DB_NAME}.working" rm "/tmp/${_DB_NAME}.working"
return 1 return 1
fi fi
trap_add EXIT,ERR "_clean_docker '$_DB_NAME' '$container_id'"
trap_add EXIT,ERR "_clean_docker \"$_DB_NAME\" \"$container_id\""
fi fi
if docker_ip=$(wait_for_docker_ip "$container_id"); then if docker_ip=$(wait_for_docker_ip "$container_id"); then

Loading…
Cancel
Save