refactor function defs to be posix-like. remove usage of force positional argument in tests. support --force like arguments in client"

This commit is contained in:
Michael Hobbs committed 2015-02-07 11:35:04 -08:00
1 parent c4ef29173c
commit 959c51eb50
6 files changed
+37 -22

No files matched your search

+1 -1
View File
@@ -116,7 +116,7 @@ case "$1" in
echo $ipaddr > "$DOKKU_ROOT/$APP/IP"
# if we can't post-deploy successfully, kill new container
function kill_new {
kill_new() {
docker inspect $id &> /dev/null && docker kill $id > /dev/null
trap - INT TERM EXIT
kill -9 $$