summaryrefslogtreecommitdiff
path: root/backupDir.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-27 07:49:03 -0500
committerJeff Carr <[email protected]>2024-10-27 07:49:03 -0500
commit099363089ba70d326bd3fcf5340652be2b4a2859 (patch)
tree3efa0aa818b98b050e358b445038f8466c0dc9e9 /backupDir.go
parenteba6f5c1883014558baffbe97be9e24ee9453c44 (diff)
try to actually make real files
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'backupDir.go')
-rw-r--r--backupDir.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/backupDir.go b/backupDir.go
index 1c633af..bd021fb 100644
--- a/backupDir.go
+++ b/backupDir.go
@@ -9,6 +9,7 @@ import (
"path/filepath"
)
+// IsDir() check seems to still enter directories for some reason
func backupDir(srcDir string, destDir string) error {
// Create the destination directory
err := os.MkdirAll(destDir, os.ModePerm)