Docker: fix data cleanup

This commit is contained in:
Grégoire Henry 2018-06-08 14:49:50 +02:00
parent 8eac1b03ac
commit f13e3e84c5

View File

@ -79,7 +79,7 @@ launch_node() {
if [ -f "$node_dir/identities.json" ]; then \ if [ -f "$node_dir/identities.json" ]; then \
mv "$node_dir/identities.json" /tmp mv "$node_dir/identities.json" /tmp
fi fi
rm -rf "$node_dir/*" rm -rf "$node_dir"/*
rm -rf "$client_dir/blockss" rm -rf "$client_dir/blockss"
rm -rf "$client_dir/noncess" rm -rf "$client_dir/noncess"
rm -rf "$client_dir/endorsementss" rm -rf "$client_dir/endorsementss"