mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
Respect INSTALLUSER when creating spool directory
This commit is contained in:
parent
5081a180fa
commit
de10a7a8ce
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user