Commit 53aa633b authored by lenz@mysql.com's avatar lenz@mysql.com

- Bugfix for the Mac OS X startup script: Suppress the annoying

   "$1: unbound variable" error when no option was given
parent 33b9016d
......@@ -11,6 +11,13 @@
# Written by Lenz Grimmer <lenz@mysql.com>
#
# Suppress the annoying "$1: unbound variable" error when no option
# was given
if [ -z $1 ] ; then
echo "Usage: $0 [start|stop|restart] "
exit 1
fi
# Source the common setup functions for startup scripts
test -r /etc/rc.common || exit 1
. /etc/rc.common
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment