diff options
author | Faerbit <faerbit@gmail.com> | 2014-04-04 11:58:14 +0200 |
---|---|---|
committer | Faerbit <faerbit@gmail.com> | 2014-04-04 11:58:14 +0200 |
commit | 1a0ddd61b8d9a6116fd4e184da61dc028a83c034 (patch) | |
tree | d9b2087e0c1442c750225354b7454da8263b4246 | |
parent | 75b16b044f593cf7e187fcc4639e2e97fc230eb2 (diff) | |
download | hib-dlagent-1a0ddd61b8d9a6116fd4e184da61dc028a83c034.tar.gz hib-dlagent-1a0ddd61b8d9a6116fd4e184da61dc028a83c034.zip |
Allowing users again to enter password on stdin.
-rwxr-xr-x | hib-dlagent | 4 |
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 |