summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <git@mx.buetow.org>2021-03-22 08:52:42 +0000
committerPaul Buetow <git@mx.buetow.org>2021-03-22 08:52:42 +0000
commitba744cec96876bfe41b293e45bd342b7a6f729aa (patch)
tree348cdc5616db432281accd5b2ed65dd1f750299a
parenta993d46aad56b9dc3ba5bba7321ac17a668a3b49 (diff)
parent115f5c73e8eccc3e98a0ac44813e42275ad52db7 (diff)
merge
-rwxr-xr-xgeheim.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/geheim.rb b/geheim.rb
index 302c5c8..f95ee1a 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