make sure we do not initialize Whonix submodules as root

This commit is contained in:
Jason Mehring 2014-10-15 09:01:41 -04:00
parent 532e31312b
commit fb1a2dbf92

View File

@ -135,7 +135,7 @@ if ! [ -f "$INSTALLDIR/tmp/.prepared_whonix" ]; then
# --------------------------------------------------------------------------
pushd "$WHONIX_DIR"
{
git submodule update --init --recursive;
su $USER -c "git submodule update --init --recursive"
}
popd