summaryrefslogtreecommitdiff
path: root/geheim.rb
diff options
context:
space:
mode:
authorPaul Buetow <pbuetow@mimecast.com>2021-02-19 09:28:22 +0000
committerPaul Buetow <pbuetow@mimecast.com>2021-02-19 09:28:22 +0000
commit83625aab7a3cf58d926d7c9862cbb9e9a45227dc (patch)
treed8271333d47607a96f25184fcdabfc80aaadfb2b /geheim.rb
parent0798bb478bdd38e6f0856eac575d4bcc44b1a135 (diff)
fix mac
Diffstat (limited to 'geheim.rb')
-rwxr-xr-xgeheim.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/geheim.rb b/geheim.rb
index edc0359..0566ab0 100755
--- a/geheim.rb
+++ b/geheim.rb
@@ -90,7 +90,7 @@ module Encryption
def read_pin
return ENV['PIN'] if ENV['PIN']
print "PIN: "
- return STDIN.gets.chomp if %x{uname -o}.include?("Android")
+ return STDIN.gets.chomp if %x{uname}.include?("Android")
STDIN.noecho(&:gets).chomp
end