mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
Check for tty in main
So that the value is set every time it is checked
This commit is contained in:
@@ -215,6 +215,7 @@ print_line() {
|
||||
}
|
||||
|
||||
main() {
|
||||
is_tty
|
||||
# if running from salt
|
||||
if [ "$CALLER" == 'salt-call' ] || [ "$CALLER" == 'salt-minion' ]; then
|
||||
printf "\n"
|
||||
|
||||
Reference in New Issue
Block a user