Remove unnecessary call to sudo.

This commit is contained in:
Alessio Treglia
2015-02-10 12:52:29 +00:00
parent 97ef925243
commit 0992719e3d

4
dokku
View File

@@ -1,4 +1,4 @@
#!/usr/bin/env bash
7#!/usr/bin/env bash
set -eo pipefail
shopt -s nullglob
@@ -124,7 +124,7 @@ case "$1" in
# delete all non-running container
docker rm $(docker ps -a -f "status=exited" -q) &> /dev/null &
# delete unused images
docker rmi $(sudo docker images -f "dangling=true" -q) &> /dev/null &
docker rmi $(docker images -f "dangling=true" -q) &> /dev/null &
;;
plugins)