mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-27 20:06:52 +00:00
Update utils.sh
This commit is contained in:
parent
07265ae105
commit
38f452aca9
@ -62,6 +62,12 @@ msg_info() {
|
||||
SPINNER_PID=$!
|
||||
}
|
||||
|
||||
# Display warning or highlighted information message
|
||||
msg_warn() {
|
||||
local msg="$1"
|
||||
echo -e "${BFR}${TAB}${YWB}[INFO]${CL} ${YWB}${msg}${CL}"
|
||||
}
|
||||
|
||||
# Display success message
|
||||
msg_ok() {
|
||||
if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user