fix: call -rf in the proper order
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user