mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
Correctly detect changes in root directories (such as C:\) on Windows. Bug was introduced with "Correctly backup root directory on Linux"
(cherry picked from commit 9f2c974262)
This commit is contained in:
parent
a3e9dd21f2
commit
e3227328dc
@ -132,11 +132,14 @@ std::wstring add_trailing_slash(const std::wstring &strDirName)
|
||||
{
|
||||
return strDirName+os_file_sep();
|
||||
}
|
||||
else
|
||||
else if(strDirName.empty())
|
||||
{
|
||||
return os_file_sep();
|
||||
}
|
||||
return strDirName;
|
||||
else
|
||||
{
|
||||
return strDirName;
|
||||
}
|
||||
}
|
||||
|
||||
IndexThread::IndexThread(void)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user