summaryrefslogtreecommitdiff
path: root/bin/cle
diff options
context:
space:
mode:
Diffstat (limited to 'bin/cle')
-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; }