Browse Source

fixed qrcode out to file option

toastie89 7 months ago
parent
commit
2f82be090a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      linux/wireguard/create-config/wg-createconfig.sh

+ 1 - 1
linux/wireguard/create-config/wg-createconfig.sh

@@ -41,7 +41,7 @@ PresharedKey = `cat $peer.psk`
 EOL
 
   qrencode  -t ANSIUTF8 -r $peer.conf > $peer-qr.txt
-  qrencode  -t png -r $peer.conf > $peer.png
+  qrencode  -t png -r $peer.conf -o $peer.png
 }