summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/man
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2002-11-09 04:41:56 +0000
committerkrw <krw@openbsd.org>2002-11-09 04:41:56 +0000
commita6a15b9b84fa2b2b58b927be19b6415f94b89a95 (patch)
treed933ab432304e1101edb8090a295790e231fdfa2 /lib/libpthread/man
parentfix a comment (diff)
downloadwireguard-openbsd-a6a15b9b84fa2b2b58b927be19b6415f94b89a95.tar.xz
wireguard-openbsd-a6a15b9b84fa2b2b58b927be19b6415f94b89a95.zip
Fix two problems:
1) When asked to choose a device, a user could enter two identical words separated by a blank (e.g. 'a a') and thereby confuse the check for selection validity. Quote user response before using it. 2) When asked to choose a sub-timezone, the user could escape to a shell and when returning only see half the sub-timezone prompt redisplayed. Put entire prompt into ask() parameter rather than displaying first half in a separate echo -n. Also change a "(or done)" to "(or 'done')" to be consistant with other similar displays and move the initial comment for mount_a_disk() to before the function to conform to normal usage.
Diffstat (limited to 'lib/libpthread/man')
0 files changed, 0 insertions, 0 deletions