From 9f42abdb9545f340ae8e1dd1d9bd749cdddfa997 Mon Sep 17 00:00:00 2001 From: Tod Beardsley Date: Fri, 18 Jan 2013 15:44:52 -0600 Subject: [PATCH] Whitespace fixup --- .../ui/console/command_dispatcher/stdapi/sys.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/sys.rb b/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/sys.rb index 6c05cb89c0..782a206a3f 100644 --- a/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/sys.rb +++ b/lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/sys.rb @@ -38,14 +38,14 @@ class Console::CommandDispatcher::Stdapi::Sys # @@reboot_opts = Rex::Parser::Arguments.new( "-h" => [ false, "Help menu." ], - "-f" => [ true, "Force a reboot, valid values [1|2]" ]) + "-f" => [ true, "Force a reboot, valid values [1|2]" ]) # # Options used by the 'shutdown' command. # @@shutdown_opts = Rex::Parser::Arguments.new( "-h" => [ false, "Help menu." ], - "-f" => [ true, "Force a shutdown, valid values [1|2]" ]) + "-f" => [ true, "Force a shutdown, valid values [1|2]" ]) # # Options used by the 'reg' command. @@ -330,7 +330,7 @@ class Console::CommandDispatcher::Stdapi::Sys # @param pids [Array] The pids to validate # @param allow_pid_0 [Boolean] whether to consider a pid of 0 as valid # @param allow_session_pid [Boolean] whether to consider a pid = the current session pid as valid - # @return [Array] Returns an array of valid pids + # @return [Array] Returns an array of valid pids def validate_pids(pids, allow_pid_0 = false, allow_session_pid = false) @@ -797,7 +797,7 @@ class Console::CommandDispatcher::Stdapi::Sys return true end - continue = args.delete("-c") || false + continue = args.delete("-c") || false resume = args.delete("-r") || false # validate all the proposed pids first so we can bail if one is bogus