From 590f4d1cda6298cb9463d7e858152c74cc26c6a1 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 26 Aug 2017 05:04:51 -0400 Subject: [PATCH] fix: call -rf in the proper order --- README.md | 2 +- tests/service_destroy.bats | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8a77883..51c2966 100644 --- a/README.md +++ b/README.md @@ -262,4 +262,4 @@ automatically generated when creating the service. It can be replaced by a custom certificate by overwriting the `server.crt` and `server.key` files in `/var/lib/dokku/services/postgres//data`. The `server.key` must be chmoded to 600 and must be owned by the postgres user -or root. \ No newline at end of file +or root. diff --git a/tests/service_destroy.bats b/tests/service_destroy.bats index 4c1fc94..03f23c3 100755 --- a/tests/service_destroy.bats +++ b/tests/service_destroy.bats @@ -23,5 +23,5 @@ load test_helper dokku "$PLUGIN_COMMAND_PREFIX:link" l app run dokku "$PLUGIN_COMMAND_PREFIX:destroy" l assert_contains "${lines[*]}" "Cannot delete linked service" - rm "$DOKKU_ROOT/app" -rf + rm -rf "$DOKKU_ROOT/app" }