Skip to content

Commit

Permalink
Use [-] instead of [*] for error messages
Browse files Browse the repository at this point in the history
git-svn-id: file:///home/svn/framework3/trunk@6332 4d416f70-5f16-0410-b530-b9f4589650da
  • Loading branch information
kris committed Mar 11, 2009
1 parent 48736bd commit 2faa983
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion msfd
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ begin
exit(0) if Process.fork()
end
rescue ::NotImplementedError
$stderr.puts "[*] Background mode is not available on this platform"
$stderr.puts "[-] Background mode is not available on this platform"
end

# Run the plugin instance in the foreground.
Expand Down
4 changes: 2 additions & 2 deletions msfgui
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ begin
rescue ::Exception => e
$stderr.puts "[*] The msfgui interface requires the ruby-gtk2 and ruby-libglade2 packages"
$stderr.puts "[*] Dependencies include ruby-pango, ruby-glib2, ruby-gdkpixbuf2, and ruby-atk"
$stderr.puts "[*] Error: #{e.class} #{e}"
$stderr.puts "[-] Error: #{e.class} #{e}"
exit(0)
end

Expand Down Expand Up @@ -74,7 +74,7 @@ begin
exit(0) if Process.fork()
end
rescue ::NotImplementedError
$stderr.puts "[*] Background mode is not available on this platform"
$stderr.puts "[-] Background mode is not available on this platform"
end

class FakeOut
Expand Down
4 changes: 2 additions & 2 deletions msfrpc
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ arguments.parse(ARGV) { |opt, idx, val|


if(not opts['ServerHost'])
$stderr.puts "[*] Error: a server IP must be specified (-a)"
$stderr.puts "[-] Error: a server IP must be specified (-a)"
$stderr.puts arguments.usage
exit(0)
end

if(not opts['Pass'])
$stderr.puts "[*] Error: a password must be specified (-P)"
$stderr.puts "[-] Error: a password must be specified (-P)"
$stderr.puts arguments.usage
exit(0)
end
Expand Down
4 changes: 2 additions & 2 deletions msfrpcd
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ arguments.parse(ARGV) { |opt, idx, val|
}

if(not opts['Pass'])
$stderr.puts "[*] Error: a password must be specified (-P)"
$stderr.puts "[-] Error: a password must be specified (-P)"
exit(0)
end

Expand All @@ -78,7 +78,7 @@ begin
exit(0) if Process.fork()
end
rescue ::NotImplementedError
$stderr.puts "[*] Background mode is not available on this platform"
$stderr.puts "[-] Background mode is not available on this platform"
end

# Run the plugin instance in the foreground.
Expand Down

0 comments on commit 2faa983

Please sign in to comment.