diff options
author | Bill Nottingham <notting@redhat.com> | 2008-09-23 14:28:51 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2008-09-23 14:28:51 -0400 |
commit | de71796ec6544630765462b2c0c339d45acc314a (patch) | |
tree | 1ec3a3122ceb04c513499a7ccebceca76b882623 /event.d | |
parent | 466a61e3d8da136aa1c9e3cfdbd5ea91517e20b0 (diff) | |
download | initscripts-de71796ec6544630765462b2c0c339d45acc314a.tar initscripts-de71796ec6544630765462b2c0c339d45acc314a.tar.gz initscripts-de71796ec6544630765462b2c0c339d45acc314a.tar.bz2 initscripts-de71796ec6544630765462b2c0c339d45acc314a.tar.xz initscripts-de71796ec6544630765462b2c0c339d45acc314a.zip |
Check that we're on a tty before trying to start a repair shell. (#463161)
If netfs isn't running from a tty (say, from NetworkManager), the attempt
to start a shell will fail, and we'll immediately fall through to rebooting.
That isn't good.
Diffstat (limited to 'event.d')
0 files changed, 0 insertions, 0 deletions