summaryrefslogtreecommitdiff
path: root/morphlib/writeexts.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/writeexts.py')
-rw-r--r--morphlib/writeexts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/writeexts.py b/morphlib/writeexts.py
index 3f9c33d5..b4912db1 100644
--- a/morphlib/writeexts.py
+++ b/morphlib/writeexts.py
@@ -281,7 +281,7 @@ class WriteExtension(cliapp.Application):
self.status(msg='Moving existing data to %s subvolume' % subvolume)
for filename in files:
filepath = os.path.join(existing_state_dir, filename)
- shutil.move(filepath, subvolume)
+ cliapp.runcmd(['mv', filepath, subvolume])
def complete_fstab_for_btrfs_layout(self, system_dir):
'''Fill in /etc/fstab entries for the default Btrfs disk layout.