This commit is contained in:
inxi-svn 2008-11-24 00:11:01 +00:00
parent 1dcf47bdba
commit 009bf103a4

5
inxi
View file

@ -333,7 +333,8 @@ script_debugger()
# for dcop to work, must use 'say' operator, AND colors must be evaluated by echo -e
print_screen_output()
{
local print_data="$( echo -e "$1" )"
#local print_data="$( echo -e "$1" )"
local print_data=""
if [[ $DEBUG -gt 5 ]];then
if [[ $KONVI -eq 1 ]];then
@ -346,7 +347,7 @@ print_screen_output()
fi
if [[ $KONVI -eq 1 ]];then
dcop "$DCPORT" "$DCOPOBJ" say "$DCSERVER" "$DCTARGET" "$print_data"
dcop "$DCPORT" "$DCOPOBJ" say "$DCSERVER" "$DCTARGET" "$( echo -e $1 )"
else
echo -e "$print_data\n"
fi