diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-09-06 20:48:30 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-09-06 20:48:30 +0200 |
commit | 602eaddfb35cbc35750403b0abe46033616ec955 (patch) | |
tree | b16e990c25b7b5b8fa64aec228d65edf120eef2b | |
parent | 075c8da06b8df6da8dc98cbf558047857b40c0b7 (diff) |
Use more normal sleep variant.
-rwxr-xr-x | src/password-store.sh | 2 |
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" |