fatal error if vfork-exec-wrapper cannot be found (on unix systems).

This commit is contained in:
Robin Gareus 2014-07-11 16:39:55 +02:00 committed by Paul Davis
parent 8079b21d9a
commit a8aaa748f0

View file

@ -37,7 +37,8 @@ static char *vfork_exec_wrapper_path() {
if (!PBD::find_file (
PBD::Searchpath(Glib::build_filename(ARDOUR::ardour_dll_directory(), "vfork")),
"ardour-exec-wrapper", vfork_exec_wrapper)) {
PBD::warning << "vfork exec wrapper not found..'" << endmsg;
PBD::fatal << "vfork exec wrapper 'ardour-exec-wrapper' was not found in $PATH." << endmsg;
/* not reached */
return NULL;
}
return strdup(vfork_exec_wrapper.c_str());