From 9d6077d91592f43294383de4698c878a039329e9 Mon Sep 17 00:00:00 2001 From: Eric F Crist Date: Fri, 25 Jan 2019 08:18:23 -0600 Subject: [PATCH] rmdir with the ignore fail on non-empty is a linux thing Signed-off-by: Eric F Crist --- op_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/op_test.sh b/op_test.sh index b16c680..362c0d5 100644 --- a/op_test.sh +++ b/op_test.sh @@ -212,7 +212,7 @@ destroy_data () TARGET="$TEMP_DIR/$i" rm -rf "$TARGET" done - [ -d "$TEMP_DIR" ] && rmdir --ignore-fail-on-non-empty "$TEMP_DIR" + [ -d "$TEMP_DIR" ] && rm -rf "$TEMP_DIR" [ -f ./openssl-easyrsa.cnf.orig ] && mv -f ./openssl-easyrsa.cnf.orig ./openssl-easyrsa.cnf fi FIRST_RUN=0