diff options
-rwxr-xr-x | morphlib/exts/ssh-rsync.write | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/exts/ssh-rsync.write b/morphlib/exts/ssh-rsync.write index 83091c4b..77266d33 100755 --- a/morphlib/exts/ssh-rsync.write +++ b/morphlib/exts/ssh-rsync.write @@ -101,7 +101,7 @@ class SshRsyncWriteExtension(morphlib.writeexts.WriteExtension): raise else: self.status(msg='Removing temporary mounts') - cliapp.ssh_runcmd(location, ['umount', root_disk]) + cliapp.ssh_runcmd(location, ['umount', remote_mnt]) cliapp.ssh_runcmd(location, ['rmdir', remote_mnt]) def update_remote_extlinux(self, location, remote_mnt, version_label): |