Added missing install command switch.

This commit is contained in:
Markus Makela 2015-08-03 10:59:52 +03:00
parent 1b4fd2c2eb
commit cf704c0072

View File

@ -38,7 +38,7 @@ _RETVAL_STATUS_OK=0
_RETVAL_STATUS_NOT_RUNNING=3
# Create PID directory if not exists
/usr/bin/install -o maxscale -g maxscale @MAXSCALE_VARDIR@/run/maxscale
/usr/bin/install -d -o maxscale -g maxscale @MAXSCALE_VARDIR@/run/maxscale
# Sanity checks.
[ -x @CMAKE_INSTALL_PREFIX@/@MAXSCALE_BINDIR@/maxscale ] || exit $_RETVAL_NOT_INSTALLED