rmdir with the ignore fail on non-empty is a linux thing
Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
This commit is contained in:
parent
941f381f52
commit
9d6077d915
@ -212,7 +212,7 @@ destroy_data ()
|
|||||||
TARGET="$TEMP_DIR/$i"
|
TARGET="$TEMP_DIR/$i"
|
||||||
rm -rf "$TARGET"
|
rm -rf "$TARGET"
|
||||||
done
|
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
|
[ -f ./openssl-easyrsa.cnf.orig ] && mv -f ./openssl-easyrsa.cnf.orig ./openssl-easyrsa.cnf
|
||||||
fi
|
fi
|
||||||
FIRST_RUN=0
|
FIRST_RUN=0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user