diff --git a/installJRMC b/installJRMC index 1011317..de980ba 100755 --- a/installJRMC +++ b/installJRMC @@ -875,7 +875,9 @@ installMCARCH() { --install -p mediacenter.pkgbuild" if ! exec ${makepkg_cmd}; then - if [[ $? -eq 10 ]]; then + output=$? + echo $output + if [[ $output -eq 10 ]]; then su nobody exec "${makepkg_cmd}" # TODO, for testing in root VM fi fi