Skip to content

Commit 02f0196

Browse files
committed
smuxi_hooks/on-message-received/print_msg.sh: don't block the caller
If the printer queue is full because it waits for paper for example, lpr will block the caller and with that Smuxi. Queue the print job as a background process instead.
1 parent ddbbfe2 commit 02f0196

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smuxi_hooks/on-message-received/print_msg.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ echo -n "$SMUXI_SENDER " | lpr
2222
send_esc 5 # Cancel italic
2323
echo $SMUXI_MSG \
2424
| iconv -f utf-8 -t 437 -c \
25-
| lpr
25+
| lpr &

0 commit comments

Comments
 (0)