Return was is the wrong place

This commit is contained in:
2023-03-28 13:30:14 +02:00
parent c877424435
commit ef2ee6e43f

View File

@@ -53,8 +53,8 @@ namespace Password_Generator
while (!proc.StandardOutput.EndOfStream) while (!proc.StandardOutput.EndOfStream)
{ {
builder.Append(proc.StandardOutput.ReadLine()); builder.Append(proc.StandardOutput.ReadLine());
return builder.ToString();
} }
return builder.ToString();
} }
catch (Exception ex) catch (Exception ex)
{ {