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." Sorry, -e.