summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/pbd/pathexpand.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/pbd/pathexpand.cc b/libs/pbd/pathexpand.cc
index 26454e4164..3398bd1152 100644
--- a/libs/pbd/pathexpand.cc
+++ b/libs/pbd/pathexpand.cc
@@ -86,7 +86,7 @@ PBD::canonical_path (const std::string& path)
{
char buf[PATH_MAX+1];
- if (!realpath (path.c_str(), buf) && (errno != ENOENT)) {
+ if (!realpath (path.c_str(), buf)) {
return path;
}