diff options
Diffstat (limited to 'OpenSim/Framework/Console/ConsoleBase.cs')
-rw-r--r-- | OpenSim/Framework/Console/ConsoleBase.cs | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/OpenSim/Framework/Console/ConsoleBase.cs b/OpenSim/Framework/Console/ConsoleBase.cs index c813e91..70b3d3c 100644 --- a/OpenSim/Framework/Console/ConsoleBase.cs +++ b/OpenSim/Framework/Console/ConsoleBase.cs | |||
@@ -230,13 +230,12 @@ namespace OpenSim.Framework.Console | |||
230 | { | 230 | { |
231 | try | 231 | try |
232 | { | 232 | { |
233 | string line = System.Console.ReadLine(); | 233 | string line = System.Console.ReadLine(); |
234 | while(line == null) | 234 | while (line == null) |
235 | { | 235 | { |
236 | 236 | line = System.Console.ReadLine(); | |
237 | line = System.Console.ReadLine(); | 237 | } |
238 | } | 238 | |
239 | |||
240 | return line; | 239 | return line; |
241 | } | 240 | } |
242 | catch (Exception e) | 241 | catch (Exception e) |
@@ -364,8 +363,7 @@ namespace OpenSim.Framework.Console | |||
364 | public void Prompt() | 363 | public void Prompt() |
365 | { | 364 | { |
366 | string tempstr = CmdPrompt(m_componentName + "# "); | 365 | string tempstr = CmdPrompt(m_componentName + "# "); |
367 | RunCommand(tempstr); | 366 | RunCommand(tempstr); |
368 | |||
369 | } | 367 | } |
370 | 368 | ||
371 | public void RunCommand(string cmdline) | 369 | public void RunCommand(string cmdline) |