From cf704c0072e60caafee99ce3e73c338e958dc27e Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Mon, 3 Aug 2015 10:59:52 +0300 Subject: [PATCH] Added missing install command switch. --- etc/init.d/maxscale.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/init.d/maxscale.in b/etc/init.d/maxscale.in index a9e81e3ac..38203dc11 100755 --- a/etc/init.d/maxscale.in +++ b/etc/init.d/maxscale.in @@ -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