mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
LibSQL: Actually print an error message after failing to launch a server
We were shadowing the 'result' variable, which made an exec error message along with the search paths never being printed.
This commit is contained in:
parent
1ef410eb79
commit
675713ad8e
Notes:
sideshowbarker
2024-07-17 08:45:34 +09:00
Author: https://github.com/krkk Commit: https://github.com/SerenityOS/serenity/commit/675713ad8e Pull-request: https://github.com/SerenityOS/serenity/pull/17317 Reviewed-by: https://github.com/ADKaster ✅
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ static ErrorOr<void> launch_server(DeprecatedString const& socket_path, Deprecat
|
|||
"--pid-file"sv,
|
||||
pid_path,
|
||||
};
|
||||
auto result = Core::System::exec(arguments[0], arguments, Core::System::SearchInPath::Yes);
|
||||
result = Core::System::exec(arguments[0], arguments, Core::System::SearchInPath::Yes);
|
||||
if (!result.is_error())
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue