diff src/goodjava/lucene/backup/Backup.java @ 1501:e66e3d50b289

mkdirs
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 10 May 2020 22:28:13 -0600
parents f01abd6d5858
children 86c5e7000ecf
line wrap: on
line diff
--- a/src/goodjava/lucene/backup/Backup.java	Sun May 10 13:06:11 2020 -0600
+++ b/src/goodjava/lucene/backup/Backup.java	Sun May 10 22:28:13 2020 -0600
@@ -37,7 +37,7 @@
 	}
 
 	void handle2(RpcServer rpc,RpcCall call) throws IOException {
-		dir.mkdirs();
+		IoUtils.mkdirs(dir);
 		//logger.info(call.cmd+" "+Arrays.asList(call.args));
 		String fileName = null;
 		if( call.cmd.equals("check") ) {