Commit 939af88d authored by Vitaly Lipatov's avatar Vitaly Lipatov

docmd: use # under root account

parent 71e0fd7e
...@@ -37,7 +37,9 @@ set_target_pkg_env() ...@@ -37,7 +37,9 @@ set_target_pkg_env()
docmd() docmd()
{ {
#SETCOLOR_SUCCESS #SETCOLOR_SUCCESS
echo " \$ $@" local PROMTSIG="\$"
[ "$UID" = 0 ] && PROMTSIG="#"
echo " $PROMTSIG $@"
#SETCOLOR_NORMAL #SETCOLOR_NORMAL
"$@" "$@"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment