1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

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

"$1: unbound variable" error when no option was given
This commit is contained in:
lenz@mysql.com
2003-12-03 13:56:33 +01:00
parent 33b9016d31
commit 53aa633b24

View File

@@ -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