Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/etcupdate Fix a typo in the yesno() function: add a...



details:   https://anonhg.NetBSD.org/src/rev/6750833264e0
branches:  trunk
changeset: 540887:6750833264e0
user:      jmmv <jmmv%NetBSD.org@localhost>
date:      Fri Dec 27 19:47:43 2002 +0000

description:
Fix a typo in the yesno() function: add a missing question mark.
Approved by martti.

diffstat:

 usr.sbin/etcupdate/etcupdate |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 5ce347c77375 -r 6750833264e0 usr.sbin/etcupdate/etcupdate
--- a/usr.sbin/etcupdate/etcupdate      Fri Dec 27 16:07:13 2002 +0000
+++ b/usr.sbin/etcupdate/etcupdate      Fri Dec 27 19:47:43 2002 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: etcupdate,v 1.7 2002/09/28 06:17:16 martti Exp $
+# $NetBSD: etcupdate,v 1.8 2002/12/27 19:47:43 jmmv Exp $
 #
 # Copyright (c) 2001 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -95,7 +95,7 @@
 yesno() {
        # $* = message to display
 
-       echo -n "${*} (y/[n]) "
+       echo -n "${*}? (y/[n]) "
        read ANSWER
        case "${ANSWER}" in
                y|Y)



Home | Main Index | Thread Index | Old Index