mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-20 21:56:30 +01:00
fatal error if vfork-exec-wrapper cannot be found (on unix systems).
This commit is contained in:
parent
8079b21d9a
commit
a8aaa748f0
1 changed files with 2 additions and 1 deletions
|
|
@ -37,7 +37,8 @@ static char *vfork_exec_wrapper_path() {
|
||||||
if (!PBD::find_file (
|
if (!PBD::find_file (
|
||||||
PBD::Searchpath(Glib::build_filename(ARDOUR::ardour_dll_directory(), "vfork")),
|
PBD::Searchpath(Glib::build_filename(ARDOUR::ardour_dll_directory(), "vfork")),
|
||||||
"ardour-exec-wrapper", vfork_exec_wrapper)) {
|
"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 NULL;
|
||||||
}
|
}
|
||||||
return strdup(vfork_exec_wrapper.c_str());
|
return strdup(vfork_exec_wrapper.c_str());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue