figlet: use Utils.try_exec instead of !!$?
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sat, 11 Apr 2009 10:41:45 +0000 (12:41 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sat, 11 Apr 2009 11:12:05 +0000 (13:12 +0200)
commit9b25da35fe840d5a3cd1441729d59551097b1c1c
treec4b9f7c5cda383e4a52fe79e9ab2ba47d7e6627a
parent22d753aed9b358aae47a68edfa035dcf73580f52
figlet: use Utils.try_exec instead of !!$?

The !!$? method fails because !!$? is true unless $? is nil, whereas we
want to test for a successful exit.
data/rbot/plugins/figlet.rb