diff options
author | Luciano Iam <lucianito@gmail.com> | 2020-04-12 10:03:02 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-04-13 16:29:38 +0200 |
commit | 46d39a9ee7be9135b264ec6dd2834a27b17bd7c0 (patch) | |
tree | 2ff947f665e9297abeb7e4c9c51caaeb2ca6c0a2 /libs | |
parent | b66b2858b127c726d3ed2a5263cc9c51213f3774 (diff) |
WebSockets: reject an empty ARDOUR_WEBSURFACES_PATH
Diffstat (limited to 'libs')
-rw-r--r-- | libs/surfaces/websockets/resources.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaces/websockets/resources.cc b/libs/surfaces/websockets/resources.cc index 67fc12017f..e565da0469 100644 --- a/libs/surfaces/websockets/resources.cc +++ b/libs/surfaces/websockets/resources.cc @@ -125,7 +125,7 @@ ServerResources::server_data_dir () bool defined = false; std::string env_dir (Glib::getenv (data_dir_env_var, defined)); - if (defined) { + if (defined && !env_dir.empty ()) { /* useful for development */ data_dir = env_dir; } else { |