summaryrefslogtreecommitdiff
path: root/hib-dlagent
diff options
context:
space:
mode:
authorFaerbit <faerbit@gmail.com>2014-04-04 11:58:14 +0200
committerFaerbit <faerbit@gmail.com>2014-04-04 11:58:14 +0200
commit1a0ddd61b8d9a6116fd4e184da61dc028a83c034 (patch)
treed9b2087e0c1442c750225354b7454da8263b4246 /hib-dlagent
parent75b16b044f593cf7e187fcc4639e2e97fc230eb2 (diff)
downloadhib-dlagent-1a0ddd61b8d9a6116fd4e184da61dc028a83c034.tar.gz
hib-dlagent-1a0ddd61b8d9a6116fd4e184da61dc028a83c034.zip
Allowing users again to enter password on stdin.
Diffstat (limited to 'hib-dlagent')
-rwxr-xr-xhib-dlagent4
1 files changed, 4 insertions, 0 deletions
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