Try with no su

This commit is contained in:
Bob Mottram 2016-05-27 15:38:49 +01:00
parent e48004d3d4
commit 411e3834e5
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" su -c "$PROJECT_NAME -c /root/$PROJECT_NAME.cfg" - root
chroot "$rootdir" $PROJECT_NAME -c /root/$PROJECT_NAME.cfg
fi
fi
}