diff --git a/components/files/linuxpath.cpp b/components/files/linuxpath.cpp index cceca9732..3acfd825f 100644 --- a/components/files/linuxpath.cpp +++ b/components/files/linuxpath.cpp @@ -89,8 +89,8 @@ boost::filesystem::path LinuxPath::getLocalPath() const { if (readlink(path, binPath, sizeof(binPath)) != -1) { - localPath = boost::filesystem::path(binPath).parent_path(); - break; + localPath = boost::filesystem::path(binPath).parent_path(); + break; } }