From 9364bcbbec16f6f63cf0c6445d143bf398f58a6e Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 26 Aug 2017 05:04:49 -0400 Subject: [PATCH] fix: call -rf in the proper order --- tests/service_destroy.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" }