Lines 87-93
EOF
Link Here
|
87 |
|
87 |
|
88 |
ttydev=no-such-file |
88 |
ttydev=no-such-file |
89 |
type tty >/dev/null 2>&1 && ttydev=$(tty 2>/dev/null) |
89 |
type tty >/dev/null 2>&1 && ttydev=$(tty 2>/dev/null) |
90 |
if test -w "$ttydev" ; then |
90 |
if test -w "$ttydev" && test -r "$ttydev" ; then |
91 |
returns_ 4 sed -i = "$ttydev" 2>err-tty || fail=1 |
91 |
returns_ 4 sed -i = "$ttydev" 2>err-tty || fail=1 |
92 |
|
92 |
|
93 |
# remove the actual terminal device name (using sed itself...) |
93 |
# remove the actual terminal device name (using sed itself...) |
94 |
- |
|
|