Skip to content

Commit

Permalink
fix: btrfs destination: default receive command [minor]
Browse files Browse the repository at this point in the history
  • Loading branch information
sloonz committed Jan 25, 2024
1 parent 6212e82 commit 4c635a5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion destinations/btrfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func newBtrfsDestination(options *uback.Options) (uback.Destination, error) {
basePath: basePath,
snapshotCommand: options.GetCommand("SnapshotCommand", []string{"btrfs", "subvolume", "snapshot"}),
sendCommand: options.GetCommand("SendCommand", []string{"btrfs", "send"}),
receiveCommand: options.GetCommand("ReceiveCommand", []string{"btrfs", "subvolume", "receive"}),
receiveCommand: options.GetCommand("ReceiveCommand", []string{"btrfs", "receive"}),
deleteCommand: options.GetCommand("DeleteCommand", []string{"btrfs", "subvolume", "delete"}),
}, nil
}
Expand Down
1 change: 0 additions & 1 deletion sources/btrfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ func (s *btrfsSource) CreateBackup(baseSnapshot *uback.Snapshot) (uback.Backup,
}
}


if s.snapshotsPath == "" {
baseSnapshot = nil
}
Expand Down

0 comments on commit 4c635a5

Please sign in to comment.