fix: call -rf in the proper order

This commit is contained in:
Jose Diaz-Gonzalez
2017-08-26 05:04:51 -04:00
parent d0b4147a73
commit 590f4d1cda
2 changed files with 2 additions and 2 deletions

View File

@@ -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/<DB_NAME>/data`.
The `server.key` must be chmoded to 600 and must be owned by the postgres user
or root.
or root.

View File

@@ -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"
}