quiet grep output

This commit is contained in:
Jose Diaz-Gonzalez
2015-08-28 23:25:33 -04:00
parent d71f89b76c
commit df26f142c7

View File

@@ -79,7 +79,7 @@ case "$1" in
fi
dokku_log_info1 "Deleting $SERVICE"
if [[ -f "$SERVICE_ROOT/ID" ]] && docker ps -aq --no-trunc | grep $(cat "$SERVICE_ROOT/ID"); then
if [[ -f "$SERVICE_ROOT/ID" ]] && docker ps -aq --no-trunc | grep -q $(cat "$SERVICE_ROOT/ID"); then
ID=$(cat "$SERVICE_ROOT/ID")
dokku_log_verbose_quiet "Stopping container"