asdlkfj
This commit is contained in:
parent
325f310d0a
commit
6be684b66d
1 changed files with 0 additions and 5 deletions
|
@ -1,9 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
log() {
|
|
||||||
echo "$@" >> /home/wzray/out
|
|
||||||
}
|
|
||||||
|
|
||||||
exec {OUTPUT_PIPE}<> <(:)
|
exec {OUTPUT_PIPE}<> <(:)
|
||||||
|
|
||||||
DESC="${1:-"Please enter your authentication passphrase:"}"
|
DESC="${1:-"Please enter your authentication passphrase:"}"
|
||||||
|
@ -17,7 +13,6 @@ EOF
|
||||||
|
|
||||||
{
|
{
|
||||||
while read -r out <&$OUTPUT_PIPE; do
|
while read -r out <&$OUTPUT_PIPE; do
|
||||||
log "$out"
|
|
||||||
if [[ "$out" = "D "* ]]; then
|
if [[ "$out" = "D "* ]]; then
|
||||||
echo "${out#"D "}"
|
echo "${out#"D "}"
|
||||||
break
|
break
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue