Update sentinel.rb

fix a compilation-error