aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rc.lib6
1 files changed, 3 insertions, 3 deletions
diff --git a/rc.lib b/rc.lib
index 381057c..c86e529 100644
--- a/rc.lib
+++ b/rc.lib
@@ -7,9 +7,9 @@
# Functions for rc.boot and rc.shutdown
-out() { printf "\033[1;36m->\033[0;00m\033[1m $1\033[0;00m\n" ;}
-error() { printf "\033[1;31m-> ERROR: \033[0;00m\033[1m $1\033[0;00m\n" ;}
-welcome() { printf '\033[1;36m->\033[m\033[1m Welcome to\033[35m Carbs Linux\033[m\033[1m!\n' ;}
+out() { printf '\033[1;36m-> \033[m\033[1m%s\033[m\n' "$@" ;}
+error() { printf '\033[1;31m!> ERROR: \033[m\033[1m%s\033[m\n' "$@" >&2 ;}
+welcome() { printf '\033[1;36m->\033[m\033[1m Welcome to\033[35m %s\033[m\033[1m!\n' "Carbs $(uname -sr)" ;}
mnt() {
mountpoint -q "$1" || {