/etc/netstart contains the following getopts handler:

while getopts ":n" opt; do

That colon is just totally bogus, isn't it?


tilo

Index: netstart
===================================================================
RCS file: /cvs/src/etc/netstart,v
retrieving revision 1.211
diff -u -p -r1.211 netstart
--- netstart    23 Dec 2020 17:22:07 -0000      1.211
+++ netstart    30 Apr 2021 19:14:01 -0000
@@ -233,7 +233,7 @@ PRINT_ONLY=false
 V4_DHCPCONF=false
 V6_AUTOCONF=false

-while getopts ":n" opt; do
+while getopts n opt; do
        case $opt in
        n)      PRINT_ONLY=true;;
        *)      usage;;

Reply via email to