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()
docmd()
{
#SETCOLOR_SUCCESS
echo " \$ $@"
local PROMTSIG="\$"
[ "$UID" = 0 ] && PROMTSIG="#"
echo " $PROMTSIG $@"
#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