]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
"All connection fine" message now only showed one time.
authorArne Fitzenreiter <arne_f@ipfire.org>
Mon, 21 Jun 2010 21:11:41 +0000 (23:11 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 21 Jun 2010 21:11:41 +0000 (23:11 +0200)
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
   }
     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 {
 }
 
 sub logger {