]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/scripts/vpn-watch
"All connection fine" message now only showed one time.
[ipfire-2.x.git] / src / scripts / vpn-watch
index c533f064e3dcc8f4f54c637f3e5fc35d67cd9404..08d562be8499bb44c75b31c2e60357625fd1649d 100755 (executable)
@@ -57,8 +57,8 @@ foreach (@vpnsettings){
     system("/usr/local/bin/ipsecctrl S $settings[0]");
     last; #all connections will reloaded
   }
- if ($debug){logger("All connections may be fine nothing was done.");}
  }
+ if ($debug){logger("All connections may be fine nothing was done.");}
 }
 
 sub logger {