From ff2a8882127f46f811dd73d2ef08bd99df6438f8 Mon Sep 17 00:00:00 2001
From: Luke Smith <luke@lukesmith.xyz>
Date: Thu, 11 Oct 2018 14:48:40 -0400
Subject: no show errors, duplicate handling

---
 etc/htmlopen.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/etc/htmlopen.sh b/etc/htmlopen.sh
index a0d6c35..f6676e7 100755
--- a/etc/htmlopen.sh
+++ b/etc/htmlopen.sh
@@ -4,7 +4,8 @@
 
 file=$(mktemp -u --suffix=.html)
 
-echo $file
+rm -f "$file"
+
 cp "$1" "$file"
 
-setsid firefox "$file" &
+setsid firefox "$file" >/dev/null 2>&1 &
-- 
cgit v1.2.3