Check that the tahoelafs home directory gets created
This commit is contained in:
parent
bfd2a37f63
commit
c9e1bf34e3
|
@ -627,6 +627,12 @@ function install_tahoelafs {
|
|||
|
||||
# create a user
|
||||
adduser --disabled-login --gecos 'tahoe-lafs' tahoelafs
|
||||
|
||||
if [ ! -d /home/tahoelafs ]; then
|
||||
echo $'/home/tahoelafs directory was not created'
|
||||
exit 879335
|
||||
fi
|
||||
|
||||
adduser tahoelafs debian-tor
|
||||
groupadd tahoelafs
|
||||
|
||||
|
|
Loading…
Reference in New Issue