Source-Changes-D archive

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

Re: CVS commit: src/etc/rc.d

Marc Balmer wrote:

-    osecurelevel=$(sysctl -n kern.securelevel)
+    osecurelevel=$(sysctl -n kern.securelevel 2>&-)
+    if [ $? != 0 ]; then
+ echo "Can't set securelevel. (kern.securelevel sysctl not present.)"

the error message should probably read

Can't set securelevel. (kern.securelevel sysctl variable not present.)

This makes 3 or 4 different opinions as to how the message read.

You will not hear any objections from me if you change it...


Home | Main Index | Thread Index | Old Index