This reverts commit 411e3834e5864aa880473384dad94b4d2d974271.
@@ -374,7 +374,7 @@ continue_installation() {
if [ ${#CONFIG_FILENAME} -gt 2 ]; then
cp $CONFIG_FILENAME $rootdir/root/$PROJECT_NAME.cfg
cat $rootdir/root/$PROJECT_NAME.cfg
- chroot "$rootdir" $PROJECT_NAME -c /root/$PROJECT_NAME.cfg
+ chroot "$rootdir" su -c "$PROJECT_NAME -c /root/$PROJECT_NAME.cfg" - root
fi
}