mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 21:55:15 +00:00
If the install fails, we need the whole directory to belong to root again
This commit is contained in:
parent
90a20259f2
commit
2a83b4eaa5
1 changed files with 2 additions and 0 deletions
|
@ -126,6 +126,8 @@ function die {
|
|||
rm -f $install_path/.htconfig.php ]
|
||||
print_info "We delete .htconfig.php"
|
||||
fi
|
||||
# We change ownership of the directory back to root so we can try another install
|
||||
chown -R root:root $install_path
|
||||
|
||||
echo -n -e '\e[1;31m'
|
||||
echo "ERROR: $1" > /dev/null 1>&2
|
||||
|
|
Loading…
Reference in a new issue