fix real home for mastodon app
This commit is contained in:
parent
1a7079fb11
commit
d1f54072d4
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ else
|
||||||
pre_command=""
|
pre_command=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mastodon_home=$(grep "^mastodon:" /etc/passwd | awk 'BEGIN {FS=":"} {print($6)}')
|
mastodon_home="$(grep "^mastodon:" /etc/passwd | awk 'BEGIN {FS=":"} {print($6)}')/live"
|
||||||
if [ ! -d "${mastodon_home}" ]; then
|
if [ ! -d "${mastodon_home}" ]; then
|
||||||
printf "The home for the user mastodon '%s', doesn't exist." "${mastodon_home}"
|
printf "The home for the user mastodon '%s', doesn't exist." "${mastodon_home}"
|
||||||
exit 2
|
exit 2
|
||||||
|
|
Loading…
Reference in a new issue