mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 01:32:47 +01:00
[fix] Redirect so-allow output to log
This commit is contained in:
@@ -998,7 +998,7 @@ parse_options() {
|
|||||||
export {https,ftp,rsync,all}_proxy="$http_proxy"
|
export {https,ftp,rsync,all}_proxy="$http_proxy"
|
||||||
;;
|
;;
|
||||||
"--allow-analyst"|"--allow=a")
|
"--allow-analyst"|"--allow=a")
|
||||||
allow='a'
|
export allow='a'
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
if [[ $1 = --* ]]; then
|
if [[ $1 = --* ]]; then
|
||||||
|
|||||||
@@ -545,7 +545,9 @@ fi
|
|||||||
success=$(tail -10 $setup_log | grep Failed | awk '{ print $2}')
|
success=$(tail -10 $setup_log | grep Failed | awk '{ print $2}')
|
||||||
if [[ "$success" = 0 ]]; then
|
if [[ "$success" = 0 ]]; then
|
||||||
whiptail_setup_complete
|
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
|
if [[ $THEHIVE == 1 ]]; then
|
||||||
check_hive_init_then_reboot
|
check_hive_init_then_reboot
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user