mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:42:45 +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
					
				
					 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…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Karol Kosek
						Karol Kosek