From 2aa2732efeb1b84444bccf4a5482d5db564fdded Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Tue, 17 Dec 2013 23:27:12 -0800 Subject: [PATCH] I fail in awk --- launcher | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher b/launcher index 4c09af0..11b1e04 100755 --- a/launcher +++ b/launcher @@ -197,7 +197,7 @@ case "$command" in set_template_info set_volumes - existing=`docker ps -a | awk '{ print $1, $(NF) }' | grep "$config:latest" | awk '{ print $1 }'` + existing=`docker ps -a | awk '{ print $1, $(NF) }' | grep "$config$" | awk '{ print $1 }'` if [ ! -z $existing ] then echo "Found an existing container by its name, recovering cidfile, please rerun" -- 2.25.1