Check that tor gets installed
This commit is contained in:
parent
5b1168d90d
commit
f2157d3e06
|
@ -3699,6 +3699,10 @@ function install_tor {
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
apt-get -y install tor
|
apt-get -y install tor
|
||||||
|
if [ ! -f /etc/tor/torrc ]; then
|
||||||
|
echo 'Tor failed to install'
|
||||||
|
exit 38259
|
||||||
|
fi
|
||||||
echo 'install_tor' >> $COMPLETION_FILE
|
echo 'install_tor' >> $COMPLETION_FILE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue