resolve gtk + VST threading issues
[ardour.git] / libs / pbd / pathexpand.cc
index 26454e4164fc73a3c30b5e8b7bb4c6e99b7d09f1..3398bd11521594bd70e4db5d64c39bbd7d73e534 100644 (file)
@@ -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;
        }