X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=libs%2Fpbd%2Fpathexpand.cc;h=3398bd11521594bd70e4db5d64c39bbd7d73e534;hb=dfdf9a35f1e990c45f35632eb993eb67f4f7abf8;hp=26454e4164fc73a3c30b5e8b7bb4c6e99b7d09f1;hpb=658bb3ccd43658de18fbd43cd91a8e66650e27a7;p=ardour.git 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; }