Skip to content

Commit

Permalink
pb-4844: reverting changes in command.go
Browse files Browse the repository at this point in the history
Signed-off-by: root <[email protected]>
  • Loading branch information
root committed Dec 7, 2023
1 parent ff05c64 commit e3d5be0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kopia/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ func (c *Command) CreateCmd() *exec.Cmd {

// BackupCmd returns os/exec.Cmd object for the kopia create Command
func (c *Command) BackupCmd() *exec.Cmd {

// Get all the flags
argsSlice := []string{
"snapshot",
Expand All @@ -190,7 +191,6 @@ func (c *Command) BackupCmd() *exec.Cmd {
configFile,
"--json",
}

argsSlice = append(argsSlice, c.Flags...)
// Get the cmd args
argsSlice = append(argsSlice, c.Args...)
Expand Down

0 comments on commit e3d5be0

Please sign in to comment.