summaryrefslogtreecommitdiff
path: root/etc/htmlopen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'etc/htmlopen.sh')
-rwxr-xr-xetc/htmlopen.sh5
1 files 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 &