gopher.sh: fix mktemp usage (6 'X's instead of 5?)
[gofetch.git] / gopher.sh
index 93715fca3de805898818f472c72df10af51e81a2..56fe265365b16ec7e29ce6272f09764cdea3d22b 100755 (executable)
--- a/gopher.sh
+++ b/gopher.sh
@@ -66,7 +66,7 @@ getsel() {
        cat "$1" | grep '^[0-9]' | tail -n+"$2" | head -n 1 | cut -f"$3"
 }
 
-tmp="`mktemp gofetch.current_page.XXXXX`"
+tmp="`mktemp -t gofetch.current_page.XXXXXX`"
 finish() {
   rm -rf "$tmp"
 }