summaryrefslogtreecommitdiff
path: root/backupDir.go
diff options
context:
space:
mode:
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)