Revert "Try with no su"

This reverts commit 411e3834e5.
This commit is contained in:
Bob Mottram 2016-05-27 16:41:17 +01:00
parent 411e3834e5
commit ad501c1083
No known key found for this signature in database
GPG Key ID: BA68F26108DC9F87
1 changed files with 1 additions and 1 deletions

View File

@ -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
fi
}