diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2017-06-01 18:48:44 +0300 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2017-06-01 18:48:44 +0300 |
commit | de10a7a8ce692925feed2b839dd7f05c51d798f6 (patch) | |
tree | e5231ef60619ff5726fdcd09ed1687fd4e330f54 /ejabberdctl.template | |
parent | 5081a180fa761f6c8864be0906e39d0ba97d2449 (diff) |
Respect INSTALLUSER when creating spool directory
Diffstat (limited to 'ejabberdctl.template')
-rwxr-xr-x | ejabberdctl.template | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ejabberdctl.template b/ejabberdctl.template index d03de6640..303c8c044 100755 --- a/ejabberdctl.template +++ b/ejabberdctl.template @@ -224,7 +224,7 @@ check_start() } } } || { - [ -d "$SPOOL_DIR" ] || mkdir -p "$SPOOL_DIR" + [ -d "$SPOOL_DIR" ] || exec_cmd mkdir -p "$SPOOL_DIR" cd "$SPOOL_DIR" || { echo "ERROR: ejabberd can not access directory $SPOOL_DIR" exit 6 |