mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-10-26 22:09:56 -04:00
Bump go-boilerplate; make error codes sequential
This commit is contained in:
1 parent
2e3be57e3e
commit
5f8789a0f0
12 files changed
+26
-21
No files matched your search
@@ -417,7 +417,7 @@ func folderSync(folders []string) error {
|
||||
folderFullPath := global.TargetLocationFormat(folder)
|
||||
|
||||
// check if folder already exists
|
||||
isFile, isAccessible := back.TargetIsFile(folderFullPath, false, 1)
|
||||
isFile, isAccessible, _ := back.TargetIsFile(folderFullPath, false, 1) // error is ignored because errorOnFail is false
|
||||
|
||||
if !isFile && !isAccessible {
|
||||
err := os.MkdirAll(folderFullPath, 0700)
|
||||
|
||||
Reference in new issue
Block a user