aboutsummaryrefslogtreecommitdiff
path: root/src/FileAnalyzer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/FileAnalyzer.cpp')
-rw-r--r--src/FileAnalyzer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FileAnalyzer.cpp b/src/FileAnalyzer.cpp
index 0059233..9f05919 100644
--- a/src/FileAnalyzer.cpp
+++ b/src/FileAnalyzer.cpp
@@ -135,7 +135,7 @@ namespace QuickMedia {
}
}
- return rename(destination_path_tmp.data.c_str(), destination_path) == 0;
+ return rename_atomic(destination_path_tmp.data.c_str(), destination_path) == 0;
}
// TODO: Remove dependency on ffprobe