diff --git a/setup/so-functions b/setup/so-functions index 61bb256ce..b86665a1f 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -998,7 +998,7 @@ parse_options() { export {https,ftp,rsync,all}_proxy="$http_proxy" ;; "--allow-analyst"|"--allow=a") - allow='a' + export allow='a' ;; *) if [[ $1 = --* ]]; then diff --git a/setup/so-setup b/setup/so-setup index f3972b299..0d1123d10 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -545,7 +545,9 @@ fi success=$(tail -10 $setup_log | grep Failed | awk '{ print $2}') if [[ "$success" = 0 ]]; then whiptail_setup_complete - if [[ -n $allow ]]; then so-allow -$allow; fi + if [[ -n $allow ]]; then + so-allow -$allow >> $setup_log 2>&1 + fi if [[ $THEHIVE == 1 ]]; then check_hive_init_then_reboot else