mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-28 12:16:53 +00:00
Update utils.sh
This commit is contained in:
parent
575adba30f
commit
6b6977a2b0
@ -85,6 +85,12 @@ msg_info() {
|
|||||||
SPINNER_PID=$!
|
SPINNER_PID=$!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Display info message
|
||||||
|
msg_info2() {
|
||||||
|
local msg="$1"
|
||||||
|
echo -ne "${TAB}${YW}${HOLD}${msg}"
|
||||||
|
}
|
||||||
|
|
||||||
# Display warning or highlighted information message
|
# Display warning or highlighted information message
|
||||||
msg_warn() {
|
msg_warn() {
|
||||||
if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then
|
if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user