summaryrefslogtreecommitdiffstats
path: root/abs/core/zoneminder/zm.rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/zoneminder/zm.rc.d')
-rwxr-xr-x[-rw-r--r--]abs/core/zoneminder/zm.rc.d4
1 files changed, 2 insertions, 2 deletions
diff --git a/abs/core/zoneminder/zm.rc.d b/abs/core/zoneminder/zm.rc.d
index 00cd73c..60f684b 100644..100755
--- a/abs/core/zoneminder/zm.rc.d
+++ b/abs/core/zoneminder/zm.rc.d
@@ -5,7 +5,7 @@
. /etc/rc.d/functions
prog=ZoneMinder
-ZM_VERSION="1.23.3"
+ZM_VERSION="1.24.0"
ZM_PATH_BIN="/usr/lib/zm/bin"
ZM_CONFIG="/etc/zm.conf"
command="$ZM_PATH_BIN/zmpkg.pl"
@@ -99,7 +99,7 @@ start()
chown -R $ZM_WEB_USER:$ZM_WEB_GROUP /var/run/zm
GetPath="select Value from Config where Name='ZM_PATH_SOCKS'"
ZM_PATH_SOCK=`echo $GetPath | mysql -B -h $ZM_DB_HOST -u $ZM_DB_USER -p$ZM_DB_PASS $ZM_DB_NAME | grep -v '^Value'`
- [ -d $ZM_PATH_SOCK ] || mkdir -m 774 $ZM_PATH_SOCK
+ [ -d $ZM_PATH_SOCK ] || mkdir -m 774 -p $ZM_PATH_SOCK
sudo -u $ZM_WEB_USER test -O $ZM_PATH_SOCK \
|| chown -R $ZM_WEB_USER:$ZM_WEB_GROUP $ZM_PATH_SOCK
# Setup the log dir