mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-28 11:53:37 +01:00
Improve redirection of setup command output to log file, including stderr
This commit is contained in:
@@ -42,7 +42,8 @@ title() {
|
||||
|
||||
logCmd() {
|
||||
cmd=$1
|
||||
info "Executing command: $cmd\n$($cmd)\n"
|
||||
info "Executing command: $cmd"
|
||||
$cmd >> "$setup_log" 2>&1
|
||||
}
|
||||
|
||||
analyze_system() {
|
||||
|
||||
Reference in New Issue
Block a user