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