Skip to content

Commit

Permalink
Merge pull request #11 from sonroyaalmerol/bugfix/file-errors
Browse files Browse the repository at this point in the history
Bugfix/file errors
  • Loading branch information
sonroyaalmerol authored Dec 24, 2024
2 parents c2d381f + b81fb99 commit 0cb06fa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions internal/backend/backup/jobrun.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func RunBackup(job *store.Job, storeInstance *store.Store, waitChan chan struct{

backupMutex.Lock()
defer backupMutex.Unlock()
defer backupMutex.Close()

if storeInstance.APIToken == nil {
return nil, fmt.Errorf("RunBackup: api token is required")
Expand Down
1 change: 0 additions & 1 deletion internal/backend/mount/mount.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ func Mount(target *store.Target) (*AgentMount, error) {
"--read-only",
"--uid", "0",
"--gid", "0",
"--vfs-cache-mode", "minimal",
"--sftp-disable-hashcheck",
"--sftp-idle-timeout", "0",
"--sftp-key-file", privKeyFile,
Expand Down

0 comments on commit 0cb06fa

Please sign in to comment.