Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Schleizer committed Jul 2, 2014
1 parent a3ff1ea commit a2faca0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions usr/lib/msgcollector/msgdispatcher
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ error_handler() {
<br></br>## BASH_COMMAND: $BASH_COMMAND
<br></br>## exit_code: $exit_code
<br></br>###############################################################################</p>"
############################################################

## Popup window with the message above.
/usr/lib/msgcollector/msgdispatcher_dispatch_x "warning" "$scriptname" "$msg" "0"
############################################################
## /usr/share/icons/anon-icon-pack/whonix.ico might not exist, but
## fortunately msgdispatcher_dispatch_x works anyway.
/usr/lib/msgcollector/msgdispatcher_dispatch_x "warning" "$scriptname" "$msg" "0" "/usr/share/icons/anon-icon-pack/whonix.ico"

local stripped_msg
stripped_msg="$(/usr/lib/msgcollector/striphtml "$MSG")"
if [ "$stripped_msg" = "" ]; then
Expand Down

0 comments on commit a2faca0

Please sign in to comment.