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

Elad Efrat wrote:
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.

I meant "should read."



Home | Main Index | Thread Index | Old Index