18 lines
297 B
Ruby
Executable file
18 lines
297 B
Ruby
Executable file
#!/usr/bin/env ruby
|
|
|
|
trap('INT') do |status|
|
|
exit! 128+status
|
|
end
|
|
|
|
require 'mutant'
|
|
|
|
namespace =
|
|
if File.basename($0) == 'zombie'
|
|
$stderr.puts('Detected zombie environment...')
|
|
Mutant::Zombifier.zombify
|
|
Zombie::Mutant
|
|
else
|
|
Mutant
|
|
end
|
|
|
|
Kernel.exit(namespace::CLI.run(ARGV))
|