Fix two typos. Using "-eq" instead of "=" in a [ caused an error when

an entry in /etc/sysctl.conf didn't exist.  Fixing this exposed a minor
typo "exits" vs. "exist".

However, there doesn't appear to be any provision to run this with
the "lastload" argument, meaning that the error will never appear.
This commit is contained in:
Bill Fenner 2002-10-25 23:02:54 +00:00
parent 76b4b15fcf
commit dab1b45261

View File

@ -49,8 +49,8 @@ FreeBSD_start()
sysctl ${var}
;;
esac
elif [ "$1" -eq "last" ]; then
warn "sysctl ${mib} does not exits."
elif [ "$1" = "last" ]; then
warn "sysctl ${mib} does not exist."
fi
;;
esac