diff options
author | fenner <fenner@FreeBSD.org> | 2002-10-25 23:02:54 +0000 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 2002-10-25 23:02:54 +0000 |
commit | 389223166aa290e3d32ead3e89388bae966d781d (patch) | |
tree | eba5a4889fefadd190e38ebefa11d5a399926d6b /etc/rc.d/sysctl | |
parent | a516a53a6bad5e6d38be603bf94c039a186a291d (diff) | |
download | FreeBSD-src-389223166aa290e3d32ead3e89388bae966d781d.zip FreeBSD-src-389223166aa290e3d32ead3e89388bae966d781d.tar.gz |
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.
Diffstat (limited to 'etc/rc.d/sysctl')
-rw-r--r-- | etc/rc.d/sysctl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/sysctl b/etc/rc.d/sysctl index 4ae6da8..71e6752 100644 --- a/etc/rc.d/sysctl +++ b/etc/rc.d/sysctl @@ -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 |