NetBSD-Bugs archive

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

bin/58471: Typo in the does not exist message in service script.



>Number:         58471
>Category:       bin
>Synopsis:       Typo in the does not exist message in service script.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 26 18:05:00 +0000 2024
>Originator:     Daniel Cunha
>Release:        CURRENT
>Organization:
-
>Environment:
NetBSD vm-netbsd 10.99.11 NetBSD 10.99.1 (GENERIC64) #0 Thu Jul 25 01:47:00 UTC 2024  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/evbarm/compile/GENERIC64 evbarm
>Description:
I found a small typo in the message when the service does not exist when try to start one.

Example: 
dbus does not exist in/etc/rc.d

is expected a space after in, like:
dbus does not exist in /etc/rc.d
>How-To-Repeat:
Just try to execute a command with service for script that doesn't exist like:

service notexist start
>Fix:
--- service	2024-07-26 14:59:22
+++ service.new	2024-07-26 14:59:40
@@ -213,5 +213,5 @@
     fi
 done

-printf >&2 '%s does not exist in%s\n' "${script}" "${rc_directories}"
+printf >&2 '%s does not exist in %s\n' "${script}" "${rc_directories}"
 exit 1



Home | Main Index | Thread Index | Old Index