m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2012-09-06 20:48:30 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2012-09-06 20:48:30 +0200
commit602eaddfb35cbc35750403b0abe46033616ec955 (patch)
treeb16e990c25b7b5b8fa64aec228d65edf120eef2b
parent075c8da06b8df6da8dc98cbf558047857b40c0b7 (diff)
Use more normal sleep variant.
-rwxr-xr-xsrc/password-store.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/password-store.sh b/src/password-store.sh
index d373a39..fd2a195 100755
--- a/src/password-store.sh
+++ b/src/password-store.sh
@@ -56,7 +56,7 @@ clip() {
before="$(xclip -o -selection clipboard | base64)"
echo -n "$1" | xclip -selection clipboard
(
- sleep 45s
+ sleep 45
now="$(xclip -o -selection clipboard | base64)"
if [[ $now != $(echo -n "$1" | base64) ]]; then
before="$now"