projects
/
grml-debootstrap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
don't fail to ask for a password if there is no TTY
[grml-debootstrap.git]
/
chroot-script
diff --git
a/chroot-script
b/chroot-script
index
d3535b0
..
86f1535
100755
(executable)
--- a/
chroot-script
+++ b/
chroot-script
@@
-55,9
+55,9
@@
stage() {
askpass() {
# read -s emulation for dash. result is in $resp.
set -o noglob
- stty -echo
+
[ -t 0 ] &&
stty -echo
read resp
- stty echo
+
[ -t 0 ] &&
stty echo
set +o noglob
}
# }}}