summaryrefslogtreecommitdiff
path: root/bin/echo
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-06-16 20:48:50 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-06-16 20:48:50 +0000
commitbc42f6d5434a45c77e45e75d9df3eb0f6e33348d (patch)
tree0142adba6b58d931e575d1e5788927cfab7b7ff4 /bin/echo
parent495cf41f6b059a37a297b431d6360c3454f2bac0 (diff)
If we are configured for glass console but no keyboard is plugged, we run
with the dummy wscons cngetc() which immediately returns zero. Since a cngetc() call is the only difference between halt and reboot, this caused the former to behave as the later. Fix this by spinning until cngetc() returns a non-zero value.
Diffstat (limited to 'bin/echo')
0 files changed, 0 insertions, 0 deletions