# HG changeset patch # User smith@nwoca.org # Date 1458260192 -3600 # Node ID 6aedaa7220db9b23e2cd3a6fe4aec3c83444ede5 # Parent 2418f77afad22e8fb81d19a0d447fe49609968d9 fix argument diff -r 2418f77afad2 -r 6aedaa7220db scripts/capture.sh --- a/scripts/capture.sh Fri Mar 18 01:12:11 2016 +0100 +++ b/scripts/capture.sh Fri Mar 18 01:16:32 2016 +0100 @@ -1,3 +1,3 @@ #!/bin/bash # writes current logs to standard outfrom running containers in current compose project. -docker-compose ps -q | xargs -I ID cat $(docker inspect --format='{{.LogPath}}' ID ) +docker-compose ps -q | xargs -I{} cat $(docker inspect --format='{{.LogPath}}' {} )