From 6a972b9ca2ced1e15f215ac6883e3581c3b71442 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 24 Feb 2019 23:28:13 +0200 Subject: [PATCH] docs: update --- README.md | 3 +++ pash | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c8177de..6547e23 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,6 @@ A simple password manager using GPG. - [x] Add support for not generating passwords. - [ ] Add support for categories. +- [ ] Man page. +- [ ] Setup automatic linting. +- [ ] Documentation. diff --git a/pash b/pash index 7c5d04d..413b408 100755 --- a/pash +++ b/pash @@ -70,8 +70,8 @@ check_entropy() { # checks the system's entropy level and shows a warning if # its below its set maximum value. k_path=/proc/sys/kernel/random - entropy=$(<"${k_path}/entropy_avail") - needed=$(<"${k_path}/read_wakeup_threshold") + entropy=$(< "${k_path}/entropy_avail") + needed=$(< "${k_path}/read_wakeup_threshold") [[ ${entropy:=0} -lt ${needed:=1} ]] && { printf '%s\n' "warn: Not enough entropy to generate a secure password."