mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-22 00:06:25 +00:00
remove output
This commit is contained in:
parent
90914d2078
commit
59035da46a
@ -79,7 +79,6 @@ func CopyFile(from, to string) error {
|
||||
}
|
||||
|
||||
func CheckIfVolumeExists(volume string) bool {
|
||||
out, err := ExecuteCommand(ExecuteOptions{Command: "docker"}, "volume", "inspect", volume)
|
||||
fmt.Println(out)
|
||||
_, err := ExecuteCommand(ExecuteOptions{Command: "docker"}, "volume", "inspect", volume)
|
||||
return err == nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user