上次修改未修改完整
This commit is contained in:
parent
4673cc8243
commit
6d7db3db56
|
@ -552,8 +552,9 @@ void GhostImage::on_checkEnv_start()
|
|||
prePath = prePath.replace("//", "/");
|
||||
if (m_iPosition != BackupPosition::CUSTOMIZE && m_prefixDestPath.startsWith(prePath)) {
|
||||
backupWrapper.m_iPosition = BackupPosition::UDISK;
|
||||
} else {
|
||||
backupWrapper.m_iPosition = m_iPosition;
|
||||
}
|
||||
backupWrapper.m_iPosition = m_iPosition;
|
||||
backupWrapper.m_prefixDestPath = m_prefixDestPath;
|
||||
backupWrapper.m_frontUid = getuid();
|
||||
backupWrapper.m_frontUserName = qgetenv("USER");
|
||||
|
@ -849,7 +850,11 @@ void GhostImage::on_ghost_start()
|
|||
backupWrapper.m_uuid = m_uuid;
|
||||
backupWrapper.m_type = BackupType::GHOST_IMAGE;
|
||||
backupWrapper.m_backupName = createGhostImageName(m_backupName);
|
||||
backupWrapper.m_iPosition = m_iPosition;
|
||||
if (m_iPosition != BackupPosition::CUSTOMIZE && m_prefixDestPath.startsWith(prePath)) {
|
||||
backupWrapper.m_iPosition = BackupPosition::UDISK;
|
||||
} else {
|
||||
backupWrapper.m_iPosition = m_iPosition;
|
||||
}
|
||||
backupWrapper.m_prefixDestPath = m_prefixDestPath;
|
||||
backupWrapper.m_frontUid = getuid();
|
||||
backupWrapper.m_frontUserName = qgetenv("USER");
|
||||
|
|
Loading…
Reference in New Issue