aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2016-07-28 19:44:27 +0200
committerRasmus Steinke <rasi@xssn.at>2016-07-28 19:44:27 +0200
commit098d3d8417053d104fe851a454264c6b59e52c1b (patch)
tree0bcfd2b6eeec4c3c3da4ed83f037dc1c1dd0c235
parentecc2af0c71006518c2b0e64c618ef34d1d6009cf (diff)
downloadrofi-pass-098d3d8417053d104fe851a454264c6b59e52c1b.tar.gz
remove strange while loop
-rwxr-xr-xrofi-pass2
1 files changed, 1 insertions, 1 deletions
diff --git a/rofi-pass b/rofi-pass
index 1e8d7a3..5efb295 100755
--- a/rofi-pass
+++ b/rofi-pass
@@ -216,7 +216,7 @@ Type field of entry with <span color='$help_color'>Enter</span>. For more help h
# generate Array of fields
password_temp=$(PASSWORD_STORE_DIR="${root}" pass "$selected_password")
password="${password_temp%%$'\n'*}"
- pass_key_value=$(echo "${password_temp}" | tail -n+2 | grep ': ' | while read line; do echo "${line%%: *}: ${line#* }"; done)
+ pass_key_value=$(echo "${password_temp}" | tail -n+2 | grep ': ')
declare -A stuff
while read -r LINE; do
_id="${LINE%%: *}"