changement du path btrfs

This commit is contained in:
Vincent MAUGER
2020-06-11 11:42:30 +02:00
committed by Denis Cardon
parent 26c45f3fe6
commit 82ca9dfa35
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ for backup in backups:
base_dir = os.path.join(backup_base_dir,backup)
dest_dir = os.path.join(base_dir, 'last_backup')
if not os.path.isdir(dest_dir):
cmd = "/sbin/btrfs subvolume create %s"%dest_dir
cmd = "/bin/btrfs subvolume create %s"%dest_dir
print 'btrfs subvolume create "%s"' %dest_dir
print subprocess.check_output(cmd, shell=True)