Sha256: a17e91d28e529b22a85d5341b130025ab7f7c7f030aa26e952aa4da5d28994de

Contents?: true

Size: 157 Bytes

Versions: 1

Compression:

Stored size: 157 Bytes

Contents

class SudoNeedPasswordChecker
  # @return [boolean] falseならパスワードが必要
  def self.execute!
    system('sudo -n true 2>/dev/null')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
procon_bypass_man-0.3.12 lib/procon_bypass_man/support/sudo_need_password_checker.rb