commit 856fcf9a3f73bf30e7d71eabeee9432eccd2e131
Author: David Sorber <david.sorber@gmail.com>
Date:   Fri Jan 19 16:21:54 2024 -0500

    Fix bug where files were not being closed; v0.1.1.

diff --git a/src/CopyManager.cc b/src/CopyManager.cc
index a3e4f76..1403518 100644
--- a/src/CopyManager.cc
+++ b/src/CopyManager.cc
@@ -17,6 +17,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <sys/sendfile.h>
+#include <unistd.h>
 
 #include "CopyManager.h"
 #include "Logger.h"
@@ -241,6 +242,8 @@ void DBS::CopyManager::copyThreadBody()
                 continue;
             }
 
+	    close(fromFd);
+	    close(toFd);
             LOG(debug) << "Copy: " << entry.path().string()
                        << " to: " << destFilePath.string();
         }
@@ -251,4 +254,4 @@ void DBS::CopyManager::copyThreadBody()
         }
 
     }
-}
\ No newline at end of file
+}
diff --git a/src/copytool_main.cc b/src/copytool_main.cc
index 4f682b4..5466d05 100644
--- a/src/copytool_main.cc
+++ b/src/copytool_main.cc
@@ -12,7 +12,7 @@
 
 namespace sfs = std::filesystem;
 
-const std::string VERSION("v0.1.0");
+const std::string VERSION("v0.1.1");
 
 const std::string BOLD{"\033[1m"};
 const std::string ENDC{"\033[0m"};
