summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2025-04-16 19:25:29 +0200
committerMarc Vertes <mvertes@free.fr>2025-04-16 19:25:29 +0200
commit932179c84fd566d821e05da91c4924d7cb0e591f (patch)
tree173160d16946aba70383b7738b14517ffde2aea2 /bin
parent0616e0cc96c141a686a4a4a3c1d1391e8b43b356 (diff)
update
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cle2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cle b/bin/cle
index af18e89..1ff9dd0 100755
--- a/bin/cle
+++ b/bin/cle
@@ -13,7 +13,7 @@ edit() {
print "$1" >| "$tmp" || mkdir -p "${f%/*}"
[ -s "$tmp" ] || gen >| "$tmp"
"${EDITOR:-vim}" "$tmp"
- crypt "$tmp" >| "$f"
+ crypt < "$tmp" >| "$f"
}
gen() { LC_ALL=C tr -dc 'A-Za-z0-9!?%=' < /dev/urandom | head -c 10; }