mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 02:02:50 +01:00
Changed color variables to Attributes
As suggested by @rwwiv Co-authored-by: William Wernert <william.wernert@gmail.com>
This commit is contained in:
committed by
James Conroy
parent
3adb6c1389
commit
01346cbb06
@@ -257,7 +257,7 @@ main() {
|
|||||||
local focus_color; focus_color="$(tput setaf 4)"
|
local focus_color; focus_color="$(tput setaf 4)"
|
||||||
local reset_attr; reset_attr="$(tput sgr0)" # reset all attributes
|
local reset_attr; reset_attr="$(tput sgr0)" # reset all attributes
|
||||||
fi
|
fi
|
||||||
printf "\n${focus_color:-}%s${NC:-}\n\n" "Checking Docker status"
|
printf "\n${bold}${focus_color:-}%s${reset_attr:-}\n\n" "Checking Docker status"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
systemctl is-active --quiet docker
|
systemctl is-active --quiet docker
|
||||||
|
|||||||
Reference in New Issue
Block a user