"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 c533f06..08d562b 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 {