diff --git a/apps/snapshots.go b/apps/snapshots.go index 9de1df9..3869e75 100644 --- a/apps/snapshots.go +++ b/apps/snapshots.go @@ -137,7 +137,7 @@ func (s *SnapshotProcessor) CreateSnapshot(appName string, labels []string) (str return snapshot.KeyName(s.IndexLabel), fmt.Errorf("change working directory error: %v", err) } - err = exec.Command("/usr/bin/tar", "-acf", tmpSnapshotArchivePath, "./").Run() + err = exec.Command("/bin/tar", "-acf", tmpSnapshotArchivePath, "./").Run() if err != nil { return snapshot.KeyName(s.IndexLabel), fmt.Errorf("compression error: %v", err) }