From 1a0ddd61b8d9a6116fd4e184da61dc028a83c034 Mon Sep 17 00:00:00 2001 From: Faerbit Date: Fri, 4 Apr 2014 11:58:14 +0200 Subject: Allowing users again to enter password on stdin. --- hib-dlagent | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hib-dlagent b/hib-dlagent index 79c406d..0396633 100755 --- a/hib-dlagent +++ b/hib-dlagent @@ -62,6 +62,10 @@ handle_download() { if [ -n "$USERNAME" ]; then LISTING_PAGES+=("$HOME_PAGE") + if [ -z "$PASSWORD" ]; then + read -rsp 'Enter Humble account password: ' PASSWORD + echo + fi fi for KEY in "${KEYS[@]}"; do -- cgit v1.2.3-70-g09d2