From 4216e53d6a8a189335b2dc642af0d976d838a96a Mon Sep 17 00:00:00 2001 From: Vincent MAUGER Date: Thu, 11 Jun 2020 11:43:09 +0200 Subject: [PATCH] changement du path btrfs --- libtisbackup/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtisbackup/common.py b/libtisbackup/common.py index 0d67e8f..e662f4e 100644 --- a/libtisbackup/common.py +++ b/libtisbackup/common.py @@ -778,7 +778,7 @@ class backup_generic: self.logger.info('[%s] removing directory "%s"',self.backup_name,oldbackup_location) if not self.dry_run: if self.type =="rsync+btrfs+ssh" or self.type == "rsync+btrfs": - cmd = "/sbin/btrfs subvolume delete %s"%oldbackup_location.encode('ascii') + cmd = "/bin/btrfs subvolume delete %s"%oldbackup_location.encode('ascii') process = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, close_fds=True) log = monitor_stdout(process,'',self) returncode = process.returncode