bad indents
git-svn-id: file:///home/svn/framework3/trunk@12897 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
2910308b3b
commit
9a2f23bd61
|
@ -100,7 +100,7 @@ module File
|
|||
return true
|
||||
end
|
||||
|
||||
#
|
||||
#
|
||||
# Platform-agnostic file append. Appends given object content to a remote file.
|
||||
# Returns Boolean true if successful
|
||||
#
|
||||
|
|
|
@ -2,7 +2,7 @@ module Msf
|
|||
class Post
|
||||
|
||||
module Accounts
|
||||
|
||||
|
||||
##
|
||||
# delete_user(username, server_name = nil)
|
||||
#
|
||||
|
@ -29,7 +29,7 @@ module Accounts
|
|||
##
|
||||
def delete_user(username, server_name = nil)
|
||||
deletion = client.railgun.netapi32.NetUserDel(server_name, username)
|
||||
|
||||
|
||||
#http://msdn.microsoft.com/en-us/library/aa370674.aspx
|
||||
case deletion['return']
|
||||
when 2221 # NERR_UserNotFound
|
||||
|
|
|
@ -110,7 +110,7 @@ module CliParse
|
|||
hashish = {
|
||||
:error => "Unknown Error",
|
||||
:errval => nil
|
||||
}
|
||||
}
|
||||
if ma = /^error:.*/i.match(str) # if line starts with Error: just pass to regular parser
|
||||
hashish.merge!(win_parse_results(ma[0].upcase)) #upcase required to satisfy regular parser
|
||||
# merge results. Results from win_parse_results will override any duplicates in hashish
|
||||
|
|
Loading…
Reference in New Issue