From 8adbf84362821d5e111c14628844c6568d5a7e3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20=C5=A0trauch?= Date: Sat, 23 Jul 2022 00:33:34 +0200 Subject: [PATCH] Switch to /bin/tar --- apps/snapshots.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }