Browse Source

Fix bug with web admin

Julien VAUBOURG 10 years ago
parent
commit
f6907978b2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      conf/init_ynh-piratebox

+ 1 - 1
conf/init_ynh-piratebox

@@ -103,7 +103,7 @@ set_captive() {
 }
 
 start_fakedns() {
-  /usr/local/bin/piratebox_fakedns "${ynh_ip4_nat_prefix}.1" 2>&1 > /dev/null &
+  (/usr/local/bin/piratebox_fakedns "${ynh_ip4_nat_prefix}.1" &> /dev/null) &
 }
 
 ## Unsetters